Skip to content

Allow to deploy

Allow to deploy #38

Workflow file for this run

name: Deploy
on:
push:
branches:
- master
- james/a_records_other_domains
paths:
- infra/**
workflow_dispatch:
branches:
- master
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_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'