Skip to content

Commit 515f78c

Browse files
committed
Fix incorrect operator example
1 parent ebd13e4 commit 515f78c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

data/reusables/github-actions/using-context-or-environment-variables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ name: CI
1111
on: push
1212
jobs:
1313
prod-check:
14-
if: github.ref == 'refs/heads/main'
14+
if: ${{ github.ref == 'refs/heads/main' }}
1515
runs-on: ubuntu-latest
1616
steps:
1717
- run: echo "Deploying to production server on branch $GITHUB_REF"

0 commit comments

Comments
 (0)