Skip to content

Commit

Permalink
Added AWS SAM files
Browse files Browse the repository at this point in the history
  • Loading branch information
nabeelthotti committed Nov 9, 2024
1 parent 07d047e commit 3656fb8
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/sam-application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,18 @@ jobs:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-west-1
# sam build
- run: sam build --use-container

# Build the SAM application using a container
- name: SAM Build
run: sam build --use-container

# sam deploy
- run: sam deploy --no-confirm-changeset --no-fail-on-empty-changeset --stack-name sam-hello-world --s3-bucket aws-sam-example-bucket --capabilities CAPABILITY_IAM --region us-west-1
# Deploy the SAM application
- name: SAM Deploy
run: |
sam deploy \
--no-confirm-changeset \
--no-fail-on-empty-changeset \
--stack-name sam-hello-world \
--s3-bucket aws-sam-example-bucket \
--capabilities CAPABILITY_IAM \
--region us-west-1

0 comments on commit 3656fb8

Please sign in to comment.