Skip to content

Update deploy-to-production.yml #96

Update deploy-to-production.yml

Update deploy-to-production.yml #96

name: Example Workflow
on: [push]
jobs:
slack_update_result_cancelled:
if: ${{ always() }}
uses: kukrejaravi9/TestRepo/.github/workflows/reusable-deploy-to-server.yml@main
with:
environment: ${{ cancelled() && 'true' || 'false' }}

Check failure on line 10 in .github/workflows/deploy-to-production.yml

View workflow run for this annotation

GitHub Actions / Example Workflow

Invalid workflow file

The workflow is not valid. .github/workflows/deploy-to-production.yml (Line: 10, Col: 20): Unrecognized function: 'cancelled'. Located at position 1 within expression: cancelled() && 'true' || 'false'
secrets: inherit