Also, there are no problems to deploy to protected branches with a deploy_key. Log: https://github.com/peaceiris/hugo-theme-iris/actions/runs/125905893/workflow - name: Deploy uses: peaceiris/actions-gh-pages@v3 with: deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} publish_dir: ./example...