Skip to content

save

save #6

name: Deploy and wait
on:
# label: # uncomment push
push:
branches:
- main
env:
ENV_NAME: test
jobs:
deploy:
name: Deploy
uses: ./.github/workflows/09_Deploy.yaml
with:
environment: ${{ env.ENV_NAME }}

Check failure on line 18 in .github/workflows/10_Deploy-and-wait.yaml

View workflow run for this annotation

GitHub Actions / Deploy and wait

Invalid workflow file

The workflow is not valid. .github/workflows/10_Deploy-and-wait.yaml (Line: 18, Col: 20): Unrecognized named-value: 'env'. Located at position 1 within expression: env.ENV_NAME .github/workflows/10_Deploy-and-wait.yaml (Line: 26, Col: 20): Unrecognized named-value: 'env'. Located at position 1 within expression: env.ENV_NAME
wait:
name: Wait
needs:
- deploy
uses: ./.github/workflows/08_Wait-for-deployment.yaml
with:
environment: ${{ env.ENV_NAME }}
docker_tag: ${{ needs.deploy.outputs.docker_tag }}