Skip to content

end file

end file #21

Workflow file for this run

name: release
on:
release:
types: [released]
push:
workflow_dispatch:
inputs:
environment:
required: true
type: choice
options:
- sbx
- prod
- prod-test
permissions:
contents: read
id-token: write
jobs:
# Promote and Deploy to prod-test
promote-prod-test-api:
uses: ./.github/workflows/promote.yml

Check failure on line 24 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

error parsing called workflow ".github/workflows/release.yml" -> "./.github/workflows/promote.yml" (source branch with sha:92b9f627ba3864055d2b7d2efbc5d0f45733be30) : You have an error in your yaml syntax on line 78
with:
environment: prod-test
module: api
secrets: inherit
promote-prod-test-worker:
uses: ./.github/workflows/promote.yml
with:
environment: prod-test
module: worker
secrets: inherit
deploy-prod-test-api:
needs: promote-prod-test-api
uses: ./.github/workflows/deploy.yml
with:
environment: prod-test
module: api
secrets: inherit
# deploy-prod-test-worker:
# needs: promote-prod-test-worker
# uses: ./.github/workflows/deploy.yml
# with:
# environment: prod-test
# module: worker
# secrets: inherit
# Promote and Deploy to prod
# promote-prod-api:
# uses: ./.github/workflows/promote.yml
# with:
# environment: prod
# module: api
# secrets: inherit
# promote-prod-worker:
# uses: ./.github/workflows/promote.yml
# with:
# environment: prod
# module: worker
# secrets: inherit
# deploy-prod-api:
# needs: promote-prod-api
# uses: ./.github/workflows/deploy.yml
# with:
# environment: prod
# module: api
# secrets: inherit
# deploy-prod-worker:
# needs: promote-prod-worker
# uses: ./.github/workflows/deploy.yml
# with:
# environment: prod
# module: worker
# secrets: inherit
# Promote and Deploy to sandbox
promote-sbx-api:
uses: ./.github/workflows/promote.yml
with:
environment: sbx
module: api
secrets: inherit
promote-sbx-worker:
uses: ./.github/workflows/promote.yml
with:
environment: sbx
module: worker
secrets: inherit
deploy-sbx-api:
needs: promote-sbx-api
uses: ./.github/workflows/deploy.yml
with:
environment: sbx
module: api
secrets: inherit
deploy-sbx-worker:
needs: promote-sbx-worker
uses: ./.github/workflows/deploy.yml
with:
environment: sbx
module: worker
secrets: inherit