Skip to content

Commit

Permalink
enhance preview deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
dsavchenko committed Jan 31, 2024
1 parent fb57bb9 commit c44ddc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/live-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
steps:
- uses: actions/setup-python@v4
with:
python-version: "3.7"
python-version: "3.8"
- uses: actions/checkout@v3
with:
fetch-depth: 0
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
run: |
cd deploy-preview
dir_list=`for tl in $TOOL_LIST ; do echo $tl | awk -F '/' '{print $2}'; done | uniq`
dir_list=`for tl in $TOOL_LIST ; do echo $tl | awk -F '/' '{for(i=2;i<=(NF-1);i++) printf("%s%s",$i,i==(NF-1)?" ":FS)}'; done | uniq`
for dr in $dir_list; do
tools_list=`for tl in $TOOL_LIST; do if [[ "$tl" == *"$dr"* ]] ; then basename $tl ; fi ; done`
Expand Down

0 comments on commit c44ddc8

Please sign in to comment.