Skip to content

Commit

Permalink
Add site prefix to both s3 copy steps.
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Clark committed Apr 11, 2024
1 parent 4c3b8e7 commit fbf4b61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,13 @@ jobs:
DISTDIR: ${{ steps.vars.outputs.distdir }}

- name: Copy new index file to S3 📤
run: aws s3 cp $DISTDIR/index.html s3://aria-site/aria/$IDENTIFIER-aria.html --no-progress
run: aws s3 cp site/$DISTDIR/index.html s3://aria-site/aria/$IDENTIFIER-aria.html --no-progress
env:
IDENTIFIER: ${{ steps.vars.outputs.identifier }}
DISTDIR: ${{ steps.vars.outputs.distdir }}

- name: Copy new dist dir to S3 📤
run: aws s3 cp $DISTDIR s3://aria-site/aria/$DISTDIR --recursive --no-progress
run: aws s3 cp site/$DISTDIR s3://aria-site/aria/$DISTDIR --recursive --no-progress
env:
IDENTIFIER: ${{ steps.vars.outputs.identifier }}
DISTDIR: ${{ steps.vars.outputs.distdir }}
Expand Down

0 comments on commit fbf4b61

Please sign in to comment.