Skip to content

Build & Deploy

Build & Deploy #193

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:

Check failure on line 23 in .github/workflows/build-deploy.yml

View workflow run for this annotation

GitHub Actions / Build & Deploy

Invalid workflow file

The workflow is not valid. .github/workflows/build-deploy.yml (Line: 23, Col: 3): Error calling workflow 'LucasPickering/beta-spray/.github/workflows/deploy.yml@7e9f4af5d32509b53f6ce5cf9aa5962217d6d58f'. The nested job 'deploy-app' is requesting 'id-token: write', but is only allowed 'id-token: none'.
name: Deploy
uses: ./.github/workflows/deploy.yml
needs:
- build
with:
# Default to production for master push
environment: ${{ inputs.environment || 'production' }}
secrets: inherit