Skip to content

Merge pull request #601 from ohtutraininghub/#594/feat/write-zod-docu… #1187

Merge pull request #601 from ohtutraininghub/#594/feat/write-zod-docu…

Merge pull request #601 from ohtutraininghub/#594/feat/write-zod-docu… #1187

Workflow file for this run

name: Deploy to staging flow
on:
push:
branches: [staging]
pull_request:
branches: [staging]
types: [opened, synchronize, ready_for_review]
jobs:
smoke-test:
uses: ./.github/workflows/smoke-test.yml
if: ${{ !github.event.pull_request.draft }}
unit-test:
uses: ./.github/workflows/unit-test.yml
needs: [smoke-test]
secrets: inherit
e2e-test:
uses: ./.github/workflows/e2e-test.yml
needs: [smoke-test]
secrets: inherit
staging-deploy:
uses: ./.github/workflows/heroku-deploy.yml
needs: ['unit-test', 'e2e-test']
with:
ENVIRONMENT_NAME: staging
secrets: inherit