We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b10d57 commit 45009a2Copy full SHA for 45009a2
1 file changed
.github/workflows/publish.yml
@@ -0,0 +1,23 @@
1
+name: Publish GitHub Pages
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
8
+jobs:
9
+ deploy:
10
+ runs-on: ubuntu-18.04
11
+ steps:
12
+ - uses: actions/checkout@v1
13
+ - uses: actions/setup-node@v2.1.2
14
+ - run: yarn
15
16
+ - name: Build
17
+ run: npx vuepress build
18
19
+ - name: Deploy
20
+ uses: peaceiris/actions-gh-pages@v3
21
+ with:
22
+ github_token: ${{ secrets.GITHUB_TOKEN }}
23
+ publish_dir: ./.vuepress/dist
0 commit comments