diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml index 65255fd6f..5a48dda18 100644 --- a/.github/workflows/github-pages.yml +++ b/.github/workflows/github-pages.yml @@ -31,11 +31,11 @@ jobs: sphinx-build docs _build - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v4 - # if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} + if: ${{ github.event_name != 'pull_request' }} with: publish_branch: gh-pages github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: _build/ force_orphan: true enable_jekyll: false # This is required to preserve _static (and thus the theme) - cname: archinstall.archlinux.page \ No newline at end of file + cname: archinstall.archlinux.page