We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23f9d0b commit 8c67f83Copy full SHA for 8c67f83
.github/workflows/docs_and_ui.yml
@@ -64,7 +64,7 @@ jobs:
64
- name: Publish to GitHub Pages
65
env:
66
GITHUB_REF: ${{ github.ref }}
67
- if: ${{ env.GITHUB_REF == 'refs/head/master' }}
+ if: ${{ env.GITHUB_REF == 'refs/heads/master' }}
68
uses: JamesIves/github-pages-deploy-action@4.1.7
69
with:
70
branch: gh-pages
@@ -75,7 +75,7 @@ jobs:
75
- name: Skip publishing to GitHub Pages
76
77
78
- if: ${{ env.GITHUB_REF != 'refs/head/master' }}
+ if: ${{ env.GITHUB_REF != 'refs/heads/master' }}
79
run: |
80
echo "This is NOT a push to master branch, not pushing to github-pages"
81
echo "ref is ${{ env.GITHUB_REF }}"
0 commit comments