diff --git a/.github/workflows/build-documentation.yml b/.github/workflows/build-documentation.yml index cc45178..1cd12fd 100644 --- a/.github/workflows/build-documentation.yml +++ b/.github/workflows/build-documentation.yml @@ -26,6 +26,7 @@ jobs: make -C docs/ html touch docs/_build/html/.nojekyll - name: Deploy 🚀 + if: github.ref == "refs/heads/master" uses: JamesIves/github-pages-deploy-action@3.6.2 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}