Skip to content

Commit

Permalink
Disable upload from Python implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
Javex committed Apr 8, 2024
1 parent a7e531c commit 5347eb0
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 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)
# on:
# workflow_dispatch:
# 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 5347eb0

Please sign in to comment.