Skip to content

Commit

Permalink
chore: trying to get correct branch name for pull request action
Browse files Browse the repository at this point in the history
  • Loading branch information
santilland committed Sep 25, 2023
1 parent 7703a60 commit 07c5f00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
uses: jakejarvis/[email protected]
env:
SOURCE_DIR: 'build'
DEST_DIR: 'catalog/${GITHUB_REF_NAME}'
DEST_DIR: 'catalog/${{ github.event.pull_request.head.ref }}'
AWS_REGION: 'eu-central-1'
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_deploy_cleanup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ jobs:
# Delete the folder from the S3 bucket
- name: Delete folder from S3
run: |
aws s3 rm s3://${{ secrets.AWS_S3_BUCKET }}/catalog/${GITHUB_REF_NAME} --recursive
aws s3 rm s3://${{ secrets.AWS_S3_BUCKET }}/catalog/${{ github.event.pull_request.head.ref }} --recursive

0 comments on commit 07c5f00

Please sign in to comment.