Skip to content

force tag

force tag #21

Workflow file for this run

name: 'Tag and Deploy Site'
on:
push:
paths:
- .github/workflows/release.yml
jobs:
tag_repo:
name: Tag Repo
uses: ./.github/workflows/tag_release.yml
with:
repo_ref: main
secrets: inherit
deploy:
if: ${{ env.FOO == 'bar' }}

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

View workflow run for this annotation

GitHub Actions / Tag and Deploy Site

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 16, Col: 9): Unrecognized named-value: 'env'. Located at position 1 within expression: env.FOO == 'bar'
name: Deploy to Staging
needs: tag_repo
uses: ./.github/workflows/deploy.yml
with:
target_environment: staging
static_repo_ref: ${{ needs.tag_repo.outputs.tag }}
secrets: inherit