We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b44f73 commit c9b5759Copy full SHA for c9b5759
.github/workflows/deploy-docs.yaml
@@ -30,7 +30,16 @@ jobs:
30
run: npm run docs:build
31
32
- 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
+ run: |
+ cd docs/.vuepress/dist
+
+ 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