Skip to content

Commit

Permalink
Merge pull request #2601 from responsible-ai-collaborative/staging
Browse files Browse the repository at this point in the history
Deploy to Production – Production GitHub Workflows to replace Netlify cron
  • Loading branch information
kepae authored Jan 30, 2024
2 parents 2337f8d + 221487b commit 98797bd
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 14 deletions.
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.

0 comments on commit 98797bd

Please sign in to comment.