Skip to content

Commit 8c67f83

Browse files
authoredDec 21, 2021
Issue 0545 fix deploy (#556)
* Fix docs build on master, include extra badge * fix the ref
1 parent 23f9d0b commit 8c67f83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎.github/workflows/docs_and_ui.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
- name: Publish to GitHub Pages
6565
env:
6666
GITHUB_REF: ${{ github.ref }}
67-
if: ${{ env.GITHUB_REF == 'refs/head/master' }}
67+
if: ${{ env.GITHUB_REF == 'refs/heads/master' }}
6868
uses: JamesIves/github-pages-deploy-action@4.1.7
6969
with:
7070
branch: gh-pages
@@ -75,7 +75,7 @@ jobs:
7575
- name: Skip publishing to GitHub Pages
7676
env:
7777
GITHUB_REF: ${{ github.ref }}
78-
if: ${{ env.GITHUB_REF != 'refs/head/master' }}
78+
if: ${{ env.GITHUB_REF != 'refs/heads/master' }}
7979
run: |
8080
echo "This is NOT a push to master branch, not pushing to github-pages"
8181
echo "ref is ${{ env.GITHUB_REF }}"

0 commit comments

Comments
 (0)
Please sign in to comment.