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 6d8426c commit 620683dCopy full SHA for 620683d
.github/workflows/pages.yaml
@@ -35,6 +35,14 @@ jobs:
35
- run: npm run build
36
37
- uses: rossjrw/pr-preview-action@v1
38
- if: ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/main' }}
+ if: ${{ github.event_name == 'pull_request' }}
39
with:
40
source-dir: .vitepress/dist
41
+
42
+ - uses: JamesIves/github-pages-deploy-action@v4
43
+ if: ${{ (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/main' }}
44
+ with:
45
+ folder: .vitepress/dist
46
+ branch: gh-pages
47
+ clean-exclude: pr-preview
48
+ force: false
0 commit comments