Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add production deploy workflow #2564

Merged
46 changes: 46 additions & 0 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Deploy Production Branch

on:
push:
branches:
- master
schedule:
- cron: '0 6,18 * * *'

jobs:

call-atlas:
uses: ./.github/workflows/realm.yml
secrets: inherit
with:
sha: ${{ github.sha }}
environment: production

call-test-build:
uses: ./.github/workflows/test-build.yml
secrets: inherit
needs: call-atlas
with:
sha: ${{ github.sha }}
environment: production
netlify-context: production

call-test:
uses: ./.github/workflows/test.yml
needs: call-test-build
secrets: inherit
with:
sha: ${{ github.sha }}
environment: production

call-deploy:
uses: ./.github/workflows/deploy.yml
needs: call-test
secrets: inherit
permissions:
pull-requests: write
with:
environment: production
sha: ${{ github.sha }}
netlify-context: production
netlify-alias:
14 changes: 0 additions & 14 deletions .github/workflows/run_build.yml

This file was deleted.

Loading