Skip to content

Commit

Permalink
modify ci script
Browse files Browse the repository at this point in the history
  • Loading branch information
aidangannon committed Sep 20, 2023
1 parent 6df82d0 commit c1af8f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci-cd-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ jobs:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: eu-west-2
- run: cd server && sam build && cd .aws-sam/build/FlatiniApiFunction && rm -fr clean-build.sh samconfig.toml template.yaml requirements.txt requirements-test.txt tests && cd .aws-sam/build/FlatiniBackgroundFunction && rm -fr clean-build.sh samconfig.toml template.yaml requirements.txt requirements-test.txt tests
- run: cd server && sam build && cd .aws-sam/build/FlatiniApiFunction && rm -fr clean-build.sh samconfig.toml template.yaml requirements.txt requirements-test.txt tests && cd ../FlatiniBackgroundFunction && rm -fr clean-build.sh samconfig.toml template.yaml requirements.txt requirements-test.txt tests
- run: cd server && sam deploy --no-fail-on-empty-changeset --no-confirm-changeset --stack-name flatini-api-prod --s3-bucket flatini-api-prod-s3 --region eu-west-2 --capabilities CAPABILITY_IAM --parameter-overrides ${{ secrets.SAM_PARAMETER_OVERRIDES }}

0 comments on commit c1af8f2

Please sign in to comment.