Skip to content

Commit

Permalink
Merge pull request #1646 from IntelPython/fix-publishing-docs
Browse files Browse the repository at this point in the history
Fix logic when built docs are published to gh-pages
  • Loading branch information
oleksandr-pavlyk authored Apr 19, 2024
2 parents b741209 + 418be6b commit f5c6610
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/generate-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
popd
git reset --hard
- name: Publish docs
if: ${{ github.event.pull_request && !github.event.pull_request.head.repo.fork && github.ref == 'refs/heads/master' && github.event.action != 'closed' }}
if: ${{ !github.event.pull_request && github.ref == 'refs/heads/master' }}
shell: bash -l {0}
run: |
git remote add tokened_docs https://IntelPython:${{ secrets.GITHUB_TOKEN }}@github.com/IntelPython/dpctl.git
Expand Down

0 comments on commit f5c6610

Please sign in to comment.