From e0b34d93f70bf0a13fb20c224f9c2b3272b9665a Mon Sep 17 00:00:00 2001 From: viktorht Date: Thu, 28 Nov 2024 09:44:21 +0100 Subject: [PATCH] BUGFIX: docs deploy fails fix_test1 --- .github/workflows/documentation.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/documentation.yaml b/.github/workflows/documentation.yaml index 0962328..aed9676 100644 --- a/.github/workflows/documentation.yaml +++ b/.github/workflows/documentation.yaml @@ -50,6 +50,7 @@ jobs: cd .. - name: Deploy uses: peaceiris/actions-gh-pages@v3 + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} with: publish_branch: gh-pages github_token: ${{ secrets.GITHUB_TOKEN }}