Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ jobs:
env:
AWS_STG_ACCOUNT_ID: "071308038858"
AWS_PRD_ACCOUNT_ID: "591292939760"
BUILD_PREFIX: "s3://apiforge-artifacts-071308038858/builds/${{ github.event.workflow_run.head_sha }}" # bucket from staging env

steps:
# check out the released tag so the SAM template / scripts match the artifacts
Expand All @@ -43,6 +42,8 @@ jobs:
run: |
SHA=$(git rev-parse HEAD)
echo "SHA=$SHA" >> "$GITHUB_ENV"
echo "BUILD_PREFIX=s3://apiforge-artifacts-071308038858/builds/$SHA" >> "$GITHUB_ENV"

echo "Releasing commit $SHA (tag ${{ github.event.release.tag_name }})"

- name: Configure AWS Production Credentials (OIDC)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/trigger-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:

- name: Create GitHub Release + tag
env:
GH_TOKEN: ${{ github.token }}
GH_TOKEN: ${{ secrets.RELEASE_AUTOMATION_TOKEN }}
run: |
echo "Creating release $VERSION at $SHA ..."
if [ "$IS_ROLLBACK" = "true" ]; then
Expand Down
Loading