Skip to content

Commit 5fca9e2

Browse files
Merge pull request #1502 from IntelPython/fix-gen-docs
Fix generate-docs workflow breakage when run on PR closure
2 parents 12cd523 + f35f2d0 commit 5fca9e2

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
@@ -81,7 +81,7 @@ jobs:
8181
mv ../cmake-install/docs/docs ~/docs
8282
git clean -dfx
8383
- name: Publish docs
84-
if: ${{ github.event.pull_request && !github.event.pull_request.head.repo.fork && github.ref == 'refs/heads/master' }}
84+
if: ${{ github.event.pull_request && !github.event.pull_request.head.repo.fork && github.ref == 'refs/heads/master' && github.event.action != 'closed' }}
8585
shell: bash -l {0}
8686
run: |
8787
git remote add tokened_docs https://IntelPython:${{ secrets.GITHUB_TOKEN }}@github.com/IntelPython/dpctl.git

0 commit comments

Comments
 (0)