We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3133b01 + 742faa6 commit d544305Copy full SHA for d544305
1 file changed
.github/workflows/publish.yml
@@ -0,0 +1,24 @@
1
+name: Deploy to GitHub Pages
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ master
7
8
+jobs:
9
+ publish:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v1
13
+ - name: Setup Node
14
+ uses: actions/setup-node@v1
15
+ with:
16
+ node-version: '12.x'
17
+ - run: yarn
18
+ - run: yarn build
19
+ - name: Deploy
20
+ uses: peaceiris/actions-gh-pages@v2
21
+ env:
22
+ PERSONAL_TOKEN: ${{ secrets.GH_PAGES_TOKEN }}
23
+ PUBLISH_BRANCH: gh-pages
24
+ PUBLISH_DIR: ./dist
0 commit comments