File tree Expand file tree Collapse file tree 3 files changed +12
-14
lines changed
Expand file tree Collapse file tree 3 files changed +12
-14
lines changed Original file line number Diff line number Diff line change @@ -107,4 +107,4 @@ runs:
107107 id : deployment-conclusion
108108 shell : bash
109109 run : |
110- make ${{ env.DEPLOY_ENV }} ci tag=${{ inputs.tag }} terraform-app-apply
110+ make ${{ env.DEPLOY_ENV }} ci tag=${{ inputs.tag }} terraform-app-plan
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Build and deploy
33on :
44 push :
55 branches :
6- - main # Push to branch other than main deploys directly to environment with the same name. ie 'dev' branch deploys to 'dev' environment
6+ - main1 # Push to branch other than main deploys directly to environment with the same name. ie 'dev' branch deploys to 'dev' environment
77 paths-ignore :
88 - ' bigquery/**'
99 - ' documentation/**'
1414 - ' app/assets/stylesheets/README.md'
1515 - ' .github/pull_request_template.md'
1616
17- pull_request :
18- types :
19- - labeled
20- - synchronize
21- - reopened
17+ # pull_request:
18+ # types:
19+ # - labeled
20+ # - synchronize
21+ # - reopened
2222
2323concurrency : workflow-Build-and-deploy-${{ github.ref }}
2424permissions :
Original file line number Diff line number Diff line change 1616 image_tag :
1717 description : Docker image tag to be deployed
1818 required : true
19+ push :
20+ branches :
21+ - add_dr_workflows
1922
2023permissions :
2124 id-token : write
2629 name : ${{ github.event.inputs.environment }} deployment
2730 runs-on : ubuntu-latest
2831 environment :
29- name : ${{ github.event.inputs.environment }}
32+ name : qa # ${{ github.event.inputs.environment }}
3033 url : ${{ steps.deploy_app_v2.outputs.deploy-url }}
3134 steps :
3235 - name : Checkout
4245 role-duration-seconds : 3600
4346 role-skip-session-tagging : true
4447
45- - name : Get secrets from AWS ParameterStore
46- uses : dkershner6/aws-ssm-getparameters-action@v2
47- with :
48- parameterPairs : " /teaching-vacancies/github_action/infra/slack_webhook = SLACK_WEBHOOK"
49-
5048 - name : Deploy App to ${{ github.event.inputs.environment }}
5149 id : deploy_app_v2
5250 uses : ./.github/actions/deploy/
5654 azure-subscription-id : ${{ secrets.AZURE_SUBSCRIPTION_ID }}
5755 aws-access-key-id : ${{ secrets.AWS_ACCESS_KEY_ID }}
5856 aws-secret-access-key : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
59- environment : ${{ github.event.inputs.environment }}
57+ environment : qa # ${{ github.event.inputs.environment }}
6058 tag : ${{ github.event.inputs.image_tag }}
You can’t perform that action at this time.
0 commit comments