Skip to content

Commit

Permalink
fix: make path correct
Browse files Browse the repository at this point in the history
  • Loading branch information
f-hollow committed Jan 7, 2025
1 parent 08d615b commit df656c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/prw-deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: Check if checksums-s3.txt is in S3 bucket
id: download-checksums-s3
run: |
if aws s3 ls s3://${{ secrets.PREVIEW_AWS_BUCKET_NAME }}/checksums-s3.txt; then
if aws s3 ls s3://${{ secrets.PREVIEW_AWS_BUCKET_NAME }}/pr${{ env.PR_NUMBER }}/checksums-s3.txt; then
checksums_exists=true
else
checksums_exists=false
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
- name: Download checksums-s3.txt from S3 bucket
if: env.checksums-exists == 'true'
run: |
aws s3 cp s3://${{ secrets.PREVIEW_AWS_BUCKET_NAME }}/checksums-s3.txt ./checksums-s3.txt || touch ./checksums-s3.txt
aws s3 cp s3://${{ secrets.PREVIEW_AWS_BUCKET_NAME }}/pr${{ env.PR_NUMBER }}/checksums-s3.txt ./checksums-s3.txt || touch ./checksums-s3.txt
env:
AWS_S3_BUCKET: ${{ secrets.PREVIEW_AWS_BUCKET_NAME }}
AWS_REGION: ${{ secrets.AWS_REGION }}
Expand Down

0 comments on commit df656c1

Please sign in to comment.