Skip to content

change to reflect pr yml #4

change to reflect pr yml

change to reflect pr yml #4

Workflow file for this run

name: promote
on:
release:
types: [released]
push:
# branches:
# - ""
jobs:
promote:
uses: ./.github/workflows/promote.yml

Check failure on line 12 in .github/workflows/promote.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/promote.yml

Invalid workflow file

error parsing called workflow ".github/workflows/promote.yml" -> "./.github/workflows/promote.yml" (source branch with sha:4e4b23e130df32d89fd78c0c50d899e2015c10bc) : workflow is not reusable as it is missing a `on.workflow_call` trigger
secrets: inherit
promote-sandbox:
needs: promote
permissions:
contents: read
id-token: write
uses: ./.github/workflows/deploy.yml
with:
environment: sbx
module: ${{ inputs.module }}
secrets: inherit
promote-prod:
needs: promote
permissions:
contents: read
id-token: write
uses: ./.github/workflows/deploy.yml
with:
environment: prod
module: ${{ inputs.module }}
secrets: inherit
promote-prod-test:
needs: promote
permissions:
contents: read
id-token: write
uses: ./.github/workflows/deploy.yml
with:
environment: prod-test
module: ${{ inputs.module }}
secrets: inherit