Skip to content

Commit

Permalink
fix s3 dir_name variable in deploy actions (#381)
Browse files Browse the repository at this point in the history
Signed-off-by: David <daveclaveau@gmail.com>
  • Loading branch information
davidclaveau authored Sep 11, 2024
1 parent 29b2031 commit d9b41ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:
- name: Deploy to S3
env:
S3_BUCKET: ${{ vars.AR_ADMIN_PROJECT_NAME }}-${{ vars.ENVIRONMENT_STAGE }}
DIR_NAME: ${{ github.event.release.tag_name }}
DIR_NAME: ${{ inputs.releaseTag }}
WORKING_DIRECTORY: ./
run: |
aws s3 sync dist/$WORKING_DIRECTORY s3://$S3_BUCKET/$DIR_NAME
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ jobs:
- name: Deploy to S3
env:
S3_BUCKET: ${{ vars.AR_ADMIN_PROJECT_NAME }}-${{ vars.ENVIRONMENT_STAGE }}
DIR_NAME: ${{ github.event.release.tag_name }}
DIR_NAME: ${{ inputs.releaseTag }}
WORKING_DIRECTORY: ./
run: |
aws s3 sync dist/$WORKING_DIRECTORY s3://$S3_BUCKET/$DIR_NAME
Expand Down

0 comments on commit d9b41ff

Please sign in to comment.