From 2cc79647f4ebd0eb77ad2178e4a09022ec27c035 Mon Sep 17 00:00:00 2001 From: Jeroen Pelgrims Date: Wed, 7 Feb 2024 13:26:21 +0100 Subject: [PATCH] Add production workflow --- .github/workflows/production.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/production.yml diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml new file mode 100644 index 0000000..673adab --- /dev/null +++ b/.github/workflows/production.yml @@ -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