Skip to content

Staging - build and deploy #69

Staging - build and deploy

Staging - build and deploy #69

name: Staging - build and deploy
on:
push:
branches:
- main
workflow_dispatch:
inputs:
should_generate_commit_data:
description: 'Generate commit data'
default: 'yes'
type: choice
options:
- yes
- no
concurrency:
group: staging
jobs:
build:
name: Build
uses: ./.github/workflows/template-build.yml
with:
branch_name: ${{ github.ref }}
environment: staging
should_generate_commit_data: ${{ github.event.inputs.should_generate_commit_data }}
secrets: inherit
deploy:
needs: build
name: Deploy
uses: ./.github/workflows/template-deploy.yml
with:
environment: staging
secrets: inherit