Skip to content

Commit 5fcb9db

Browse files
authored
Update docs.yml
1 parent dabf4f1 commit 5fcb9db

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ jobs:
4848
4949
- name: Check out GitHub page repo
5050
uses: actions/checkout@v4
51+
if: github.ref == 'refs/heads/master'
5152
with:
5253
repository: cl-qob/cl-qob.github.io
5354
path: ${{ env.PATH_DOC }}
@@ -59,8 +60,8 @@ jobs:
5960
run: git rm -r '*'
6061

6162
- name: Build doc artifacts with Hugo
62-
run: hugo --destination ${{ env.PATH_DOC }} --minify
6363
working-directory: docs
64+
run: hugo --destination ${{ env.PATH_DOC }} --minify
6465

6566
# TODO: Generate better commit message
6667
- name: Publish doc artifacts

0 commit comments

Comments
 (0)