We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bac0608 commit 05d93d9Copy full SHA for 05d93d9
.github/workflows/deployment.yml
@@ -10,7 +10,7 @@ jobs:
10
runs-on: ubuntu-latest
11
steps:
12
- name: Exit if not on main branch
13
- if: endsWith(github.ref, 'main') == false
+ if: github.ref != 'refs/heads/main'
14
run: exit -1
15
16
- uses: actions/checkout@v3
0 commit comments