Skip to content

Build & Deploy

Build & Deploy #197

Workflow file for this run

name: Build & Deploy
on:
push:
branches:
- master
workflow_dispatch:
inputs:
environment:
description: Build & Deploy Environment
type: environment
required: true
jobs:
build:
name: Build
uses: ./.github/workflows/build.yml
permissions:
contents: read
packages: write
id-token: write
secrets: inherit
deploy:
name: Deploy
uses: ./.github/workflows/deploy.yml
needs:
- build
permissions:
contents: read
id-token: write
with:
# Default to production for master push
environment: ${{ inputs.environment || 'production' }}
secrets: inherit