Skip to content

Commit

Permalink
ci: add stage name to stack name
Browse files Browse the repository at this point in the history
  • Loading branch information
montoyaobeso committed Jun 3, 2024
1 parent 92066ce commit f4a48a7
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/sam-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,12 @@ jobs:
run: sam build --use-container
# sam deploy
- name: Run SAM Deploy
run: sam deploy --s3-bucket ${{ secrets.AWS_BUCKET_NAME }}-${{ env.ENV_STAGE}} --parameter-overrides BucketName=${{ secrets.AWS_BUCKET_NAME_FILES }} SecretName=${{ secrets.AWS_SECRET_NAME }} Stage=${{ env.ENV_STAGE}} --no-confirm-changeset --no-fail-on-empty-changeset
run: |
sam deploy \
--stack-name stori-transactions-email-sender-${{ env.ENV_STAGE }} \
--s3-bucket ${{ secrets.AWS_BUCKET_NAME }}-${{ env.ENV_STAGE }}
--no-confirm-changeset --no-fail-on-empty-changeset \
--parameter-overrides \
BucketName=${{ secrets.AWS_BUCKET_NAME_FILES }} \
SecretName=${{ secrets.AWS_SECRET_NAME }} \
Stage=${{ env.ENV_STAGE }}

0 comments on commit f4a48a7

Please sign in to comment.