Skip to content

Build & Deploy

Build & Deploy #192

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
with:
# Default to production for master push
environment: ${{ inputs.environment || 'production' }}
secrets: inherit