Skip to content

Commit f5c6610

Browse files
Merge pull request #1646 from IntelPython/fix-publishing-docs
Fix logic when built docs are published to gh-pages
2 parents b741209 + 418be6b commit f5c6610

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/generate-docs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
popd
8787
git reset --hard
8888
- name: Publish docs
89-
if: ${{ github.event.pull_request && !github.event.pull_request.head.repo.fork && github.ref == 'refs/heads/master' && github.event.action != 'closed' }}
89+
if: ${{ !github.event.pull_request && github.ref == 'refs/heads/master' }}
9090
shell: bash -l {0}
9191
run: |
9292
git remote add tokened_docs https://IntelPython:${{ secrets.GITHUB_TOKEN }}@github.com/IntelPython/dpctl.git

0 commit comments

Comments
 (0)