Skip to content

Commit

Permalink
Add production workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroenpelgrims committed Feb 7, 2024
1 parent e67d7f1 commit 2cc7964
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
on:
push:
branches:
- production

jobs:
build:
name: Build
uses: ./.github/workflows/build.yml
run_migrations:
name: Run Migrations
needs: build
uses: ./.github/workflows/run_migrations.yml
secrets: inherit
with:
environment: production
deploy:
name: Deploy to Cloudflare
needs: run_migrations
uses: ./.github/workflows/deploy.yml
secrets: inherit
with:
cf_environment: production

0 comments on commit 2cc7964

Please sign in to comment.