Skip to content

Commit 804df8a

Browse files
committed
ci(workflows):
1 parent 28adb04 commit 804df8a

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,18 @@ jobs:
3838
npm run docs:build
3939
echo "::endgroup::"
4040
41+
# Deployment job
42+
deploy:
43+
environment:
44+
name: github-pages
45+
url: ${{ steps.deployment.outputs.page_url }}
46+
runs-on: ubuntu-latest
47+
needs: build
48+
steps:
4149
- name: Deploy to GitHub Pages
42-
uses: peaceiris/actions-gh-pages@v4
50+
id: deployment
51+
uses: actions/deploy-pages@v4
4352
with:
44-
github_token: ${{ secrets.GITHUB_TOKEN }}
53+
# github_token: ${{ secrets.GITHUB_TOKEN }}
4554
publish_dir: ./package/official-site/.vitepress/dist
46-
force_orphan: true
55+
force_orphan: true

0 commit comments

Comments
 (0)