Bump github/codeql-action from 4.31.6 to 4.31.9 (#281) #295
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy All Environments | |
| permissions: read-all | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - james/sn11 | |
| workflow_dispatch: | |
| branches: | |
| - main | |
| jobs: | |
| validations: | |
| name: Run tests | |
| uses: ./.github/workflows/pr.yaml | |
| generate_configs: | |
| name: Generate configs | |
| uses: ./.github/workflows/generate_configs.yaml | |
| deploy_dev3: | |
| name: Deploy dev3 | |
| uses: ./.github/workflows/deploy_environment.yaml | |
| with: | |
| environment: dev3 | |
| varfile: dev.yaml | |
| secrets: inherit | |
| needs: validations | |
| if: github.ref == 'refs/heads/main' | |
| deploy_prod1: | |
| name: Deploy prod1 | |
| uses: ./.github/workflows/deploy_environment.yaml | |
| with: | |
| environment: prod1 | |
| varfile: wireguard_sn3.yaml | |
| secrets: inherit | |
| needs: deploy_dev3 | |
| if: github.ref == 'refs/heads/main' | |
| deploy_prod2: | |
| name: Deploy prod2 | |
| uses: ./.github/workflows/deploy_environment.yaml | |
| with: | |
| environment: prod2 | |
| varfile: wireguard_sn10.yaml | |
| secrets: inherit | |
| needs: deploy_prod1 | |
| if: github.ref == 'refs/heads/main' | |
| deploy_prod11: | |
| name: Deploy prod11 | |
| uses: ./.github/workflows/deploy_environment.yaml | |
| with: | |
| environment: prod11 | |
| varfile: wireguard_sn11.yaml | |
| secrets: inherit | |
| needs: deploy_prod2 | |
| if: github.ref == 'refs/heads/main' |