From a1151804d89c35ffad50e8bcdb95a14b5bd48f26 Mon Sep 17 00:00:00 2001 From: nabeelthotti Date: Fri, 8 Nov 2024 23:00:49 -0800 Subject: [PATCH] Added AWS SAM files --- .github/workflows/sam-application.yml | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/.github/workflows/sam-application.yml b/.github/workflows/sam-application.yml index 1fd5b72..696ea68 100644 --- a/.github/workflows/sam-application.yml +++ b/.github/workflows/sam-application.yml @@ -2,7 +2,6 @@ on: push: branches: - main - jobs: build-deploy: runs-on: ubuntu-latest @@ -14,17 +13,11 @@ jobs: with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - aws-region: us-west-1 - - # Build the SAM application + aws-region: ##region## + # sam build - run: sam build --use-container - - # Deploy the SAM application - - 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 + +# Run Unit tests- Specify unit tests here + +# 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 \ No newline at end of file