Update gh-pages.yml (#2680)

This commit is contained in:
Divano
2025-07-02 17:36:18 +08:00
committed by GitHub
parent b8a8a19689
commit d1cb3ed571

View File

@@ -21,4 +21,6 @@ jobs:
- name: Deploy to GitHub Pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: mkdocs gh-deploy --force --remote-name origin
run: |
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
mkdocs gh-deploy --force --remote-name origin