Skip to content

Commit

Permalink
Temporarily re-enable Python implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
Javex committed May 8, 2024
1 parent f11c648 commit ca8afc5
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/scrape-groceries.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Scrape Groceries
on:
workflow_dispatch:
# schedule:
# - cron: "0 1 * * *" # Daily at 1am UTC (12pm AEST)
schedule:
- cron: "0 1 * * *" # Daily at 1am UTC (12pm AEST)
env:
AWS_REGION: ap-southeast-2
jobs:
Expand Down Expand Up @@ -101,9 +101,9 @@ jobs:
with:
name: latest_canonical
path: ./output/latest-canonical.json.gz
# - name: Upload all files after finished analysis
# # The content-encoding is necessary so that S3 sends the correct content-encoding header on GET
# run: |
# aws s3 sync ./output/ s3://grocery-scrape-au/
# aws s3 cp --content-encoding gzip static/data/latest-canonical.woolies.compressed.json.gz s3://hotprices.org/data/
# aws s3 cp --content-encoding gzip static/data/latest-canonical.coles.compressed.json.gz s3://hotprices.org/data/
- name: Upload all files after finished analysis
# The content-encoding is necessary so that S3 sends the correct content-encoding header on GET
run: |
aws s3 sync ./output/ s3://grocery-scrape-au/
aws s3 cp --content-encoding gzip static/data/latest-canonical.woolies.compressed.json.gz s3://hotprices.org/data/
aws s3 cp --content-encoding gzip static/data/latest-canonical.coles.compressed.json.gz s3://hotprices.org/data/

0 comments on commit ca8afc5

Please sign in to comment.