From 5347eb077cfb909c8b9daa541d2264bee9df4dba Mon Sep 17 00:00:00 2001 From: javex Date: Mon, 8 Apr 2024 14:32:17 +0930 Subject: [PATCH] Disable upload from Python implementation --- .github/workflows/scrape-groceries.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/scrape-groceries.yml b/.github/workflows/scrape-groceries.yml index ea31b21..ea45392 100644 --- a/.github/workflows/scrape-groceries.yml +++ b/.github/workflows/scrape-groceries.yml @@ -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: @@ -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/ \ No newline at end of file + # - 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/