Skip to content

Commit

Permalink
Fix save_path print output
Browse files Browse the repository at this point in the history
  • Loading branch information
Javex committed Feb 2, 2025
1 parent bea0426 commit 7bbfef5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/scrape-groceries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
aws-region: ap-southeast-2
# it's okay to ignore the exit code on the last line, if the file doesn't exist then we scrape it
- run: |
# Run command once to download model files and get a clean print
python3 main.py sync --print-save-path woolies
save_path="$(python3 main.py sync --print-save-path woolies)"
echo "Save path is ${save_path}"
mkdir -p ./output/
Expand Down Expand Up @@ -52,6 +54,8 @@ jobs:
aws-region: ap-southeast-2
# it's okay to ignore the exit code on the last line, if the file doesn't exist then we scrape it
- run: |
# Run command once to download model files and get a clean print
python3 main.py sync --print-save-path coles
save_path="$(python3 main.py sync --print-save-path coles)"
echo "Save path is ${save_path}"
mkdir -p ./output/
Expand Down

0 comments on commit 7bbfef5

Please sign in to comment.