From 78a046e9ca92ab4e41f817ed90cd15d6aef49833 Mon Sep 17 00:00:00 2001 From: Claromes Date: Tue, 18 Jun 2024 05:46:21 -0300 Subject: [PATCH] deploy docs --- .github/workflows/docs.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 804a8cb..d46ebd3 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -1,8 +1,6 @@ name: docs -on: - pull_request: - types: [closed] +on: [push, pull_request, workflow_dispatch] permissions: contents: write @@ -29,7 +27,7 @@ jobs: poetry run sphinx-build -b html . _build cp -r _build/* ../gh-pages/ - name: Deploy documentation - if: ${{ github.event.pull_request.merged == true }} + if: ${{ github.event_name == 'push' }} uses: JamesIves/github-pages-deploy-action@4.1.4 with: branch: gh-pages -- 2.34.1