Deploy DNS servers to SN10 #51
This file contains 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 | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- infra/** | |
workflow_dispatch: | |
branches: | |
- master | |
pull_request: | |
permissions: read-all | |
jobs: | |
deploy_jon: | |
name: Deploy to jon | |
uses: ./.github/workflows/deploy_dns_environment.yaml | |
with: | |
environment: dev_jon | |
secrets: inherit | |
if: github.ref == 'refs/heads/master' && github.event_name == 'push' | |
deploy_sn10_prod: | |
name: Deploy to sn10 prod | |
uses: ./.github/workflows/deploy_dns_environment.yaml | |
#needs: deploy_jon | |
with: | |
environment: prod_sn10 | |
secrets: inherit | |
#if: github.ref == 'refs/heads/master' && github.event_name == 'push' | |
deploy_sn3_prod: | |
name: Deploy to sn3 prod | |
uses: ./.github/workflows/deploy_dns_environment.yaml | |
needs: deploy_jon | |
with: | |
environment: prod_sn3 | |
secrets: inherit | |
if: github.ref == 'refs/heads/master' && github.event_name == 'push' |