Build & Deploy #193
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | ||
Check failure on line 23 in .github/workflows/build-deploy.yml GitHub Actions / Build & DeployInvalid workflow file
|
||
name: Deploy | ||
uses: ./.github/workflows/deploy.yml | ||
needs: | ||
- build | ||
with: | ||
# Default to production for master push | ||
environment: ${{ inputs.environment || 'production' }} | ||
secrets: inherit |