|
|
|
@ -4,6 +4,7 @@ on:
|
|
|
|
|
push: |
|
|
|
|
branches: |
|
|
|
|
- main |
|
|
|
|
- AwsProdDeploy |
|
|
|
|
pull_request: |
|
|
|
|
types: |
|
|
|
|
- opened |
|
|
|
@ -233,12 +234,12 @@ jobs:
|
|
|
|
|
|
|
|
|
|
aws_deploy: |
|
|
|
|
name: AWS Deploy |
|
|
|
|
if: github.ref == 'refs/heads/main' |
|
|
|
|
needs: [lint, test, feature_test, audit] |
|
|
|
|
if: github.ref == 'refs/heads/AwsProdDeploy' |
|
|
|
|
#needs: [lint, test, feature_test, audit] |
|
|
|
|
uses: ./.github/workflows/aws_deploy.yml |
|
|
|
|
with: |
|
|
|
|
aws_account_id: 107155005276 |
|
|
|
|
aws_resource_prefix: core-staging |
|
|
|
|
environment: staging |
|
|
|
|
aws_account_id: 977287343304 |
|
|
|
|
aws_resource_prefix: core-prod |
|
|
|
|
environment: production |
|
|
|
|
permissions: |
|
|
|
|
id-token: write |
|
|
|
|