Skip to content

Commit

Permalink
feat-481: WIP add checksum comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Füting committed Feb 7, 2025
1 parent 3e39448 commit 0c3db89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/web_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ jobs:
cd web
if aws s3 ls s3://${AWS_S3_BUCKET}/checksums-ack-s3.txt; then
echo "s3 checksums found, downloading s3 checksums"
aws s3 cp "s3://${AWS_S3_BUCKET}/checksums-ack-s3.txt" "checksums-ack-s3.txt" --debug
aws s3api get-object --bucket ${AWS_S3_BUCKET} --key checksums-ack-s3.txt checksums-ack-s3.txt
else
echo "no s3 checksums found, using ci checksums"
touch checksums-ack-s3.txt
Expand All @@ -181,7 +181,7 @@ jobs:
aws s3 cp web/.build/production/web/acknowledgements/${file} s3://${AWS_S3_BUCKET}/acknowledgements/${file}
done
- name: "[deployment] Replace checksums in bucket"
- name: "[deployment] Replace acknowledgements checksums in bucket"
run: |
aws s3 cp "checksums-ack-ci.txt" "s3://${AWS_S3_BUCKET}/checksums-ack-s3.txt"
Expand Down

0 comments on commit 0c3db89

Please sign in to comment.