diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 951c677..0afa9e4 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -80,12 +80,6 @@ jobs: git add api/index.html git commit -m 'chore(pages): add /api redirect to /latest/api/' || true - - name: Push pages update branch and open PR to gh-pages - env: - GH_TOKEN: ${{ github.token }} + - name: Push pages to gh-pages (force) run: | - BR="pages/update-${GITHUB_SHA:0:7}-${GITHUB_RUN_ID}" - git push origin HEAD:"$BR" - gh pr create -R "${GITHUB_REPOSITORY}" --base gh-pages --head "$BR" \ - --title "docs(pages): publish site update" \ - --body "Automated pages deploy via PR. Includes mike versioning update and redirect." + git push origin HEAD:gh-pages --force