Skip to content

Commit c9b5759

Browse files
committed
chore: remove github pages deploy deps
1 parent 6b44f73 commit c9b5759

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/deploy-docs.yaml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,16 @@ jobs:
3030
run: npm run docs:build
3131

3232
- name: Deploy to GitHub Pages
33-
uses: peaceiris/actions-gh-pages@v3
34-
with:
35-
github_token: ${{ secrets.GITHUB_TOKEN }}
36-
publish_dir: docs/.vuepress/dist
33+
run: |
34+
cd docs/.vuepress/dist
35+
36+
git init
37+
git config user.name "GitHub Actions"
38+
git config user.email "[email protected]"
39+
40+
git add .
41+
git commit -m "Deploy docs from ${{ github.sha }}"
42+
43+
git push --force --quiet \
44+
"https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git" \
45+
HEAD:veadk/docs

0 commit comments

Comments
 (0)