From 418be6bb7c7b7a00d621f433a5a8e5fe48c23741 Mon Sep 17 00:00:00 2001 From: Oleksandr Pavlyk Date: Fri, 19 Apr 2024 08:20:02 -0500 Subject: [PATCH] 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. --- .github/workflows/generate-docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/generate-docs.yml b/.github/workflows/generate-docs.yml index f07a02125d..7af397b821 100644 --- a/.github/workflows/generate-docs.yml +++ b/.github/workflows/generate-docs.yml @@ -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