Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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