Skip to content

build: reuse branch jobs for staging and main #14

build: reuse branch jobs for staging and main

build: reuse branch jobs for staging and main #14

Workflow file for this run

name: GitHub Actions CI (Staging Deploy)
on:
push:
branches:
- 'stage/**'
jobs:
stage-branch:
uses: ./.github/workflows/branch.yml
with:
ENVIRONMENT: ${{ vars.ENVIRONMENT }}
secrets: inherit
stage-deploy:
needs:
- stage-branch
uses: ./.github/workflows/deploy.yml
with:
ENVIRONMENT: ${{ vars.ENVIRONMENT }}
secrets: inherit