From 51d02ed96d73117b3ea3fddb1e7b03bc86de0306 Mon Sep 17 00:00:00 2001 From: Jagan Parthiban <33490370+jagan-parthiban@users.noreply.github.com> Date: Mon, 19 Feb 2024 11:14:24 +0530 Subject: [PATCH] Test tc gh page (#4) * Update gh actions to publish gh-page branch - testing * Update gh actions to publish gh-page branch - testing * Update gh actions to publish gh-page branch - testing 3 * Update gh actions to publish gh-page branch - testing 4 * Update gh actions to publish gh-page branch - testing 5 * Update gh actions to publish gh-page branch - testing 6 * Update gh actions to publish gh-page branch - testing 7 * Update gh actions to publish gh-page branch - testing 8 * Update gh actions to publish gh-page branch - testing 9 * Update gh actions to publish gh-page branch - testing 10 * Update gh actions to publish gh-page branch - testing 11 --- .github/workflows/docs.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 02022a750d..41300db1e4 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -57,11 +57,7 @@ jobs: path: docs/build/html/ - name: Deploy to GitHub Pages #Push to gh-pages branch 1 uses: peaceiris/actions-gh-pages@v3 - if: ${{ - github.event_name == 'pull_request' && - github.event.action == 'closed' && - github.event.pull_request.merged == true }} -# github.event.pull_request.base.ref == 'master' }} + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} with: publish_branch: gh-pages github_token: ${{ secrets.GITHUB_TOKEN }}