diff --git a/.github/workflows/pages.yaml b/.github/workflows/pages.yaml index 8dbd06c75..4b3b216f4 100644 --- a/.github/workflows/pages.yaml +++ b/.github/workflows/pages.yaml @@ -153,7 +153,7 @@ jobs: uses: peaceiris/actions-gh-pages@068dc23d9710f1ba62e86896f84735d869951305 # Deploy if on main branch and EITHER the linkcheck succeeds or ignore_linkcheck has been flipped # crucially ignore periodic checks - if: github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && (steps.linkcheck.outcome == 'success' || github.event.inputs.ignore_linkcheck) + if: github.ref == 'refs/heads/main' && ${{ (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && (steps.linkcheck.outcome == 'success' || github.event.inputs.ignore_linkcheck == 'true') }} with: personal_token: ${{ secrets.COMMIT_TOKEN }} enable_jekyll: false