Skip to content

Commit 418be6b

Browse files
Fix logic when built docs are published to gh-pages
gh-1377 has made changes to condition of executing "Publish Docs" step which resulted in that condition always evaluating to False, and documentation changes were not uploaded for 8 months since the merge of that PR.
1 parent b741209 commit 418be6b

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)