We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 103dbda commit a51caabCopy full SHA for a51caab
.github/workflows/gh-pages.yml
@@ -0,0 +1,36 @@
1
+name: Github Pages
2
+
3
+on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
13
+ strategy:
14
+ matrix:
15
+ node-version: [18.x]
16
17
+ steps:
18
+ - name: Checkout
19
+ uses: actions/checkout@v3
20
21
+ - name: Setup Node.js ${{ matrix.node-version }}
22
+ uses: actions/setup-node@v3
23
+ with:
24
+ node-version: ${{ matrix.node-version }}
25
26
+ - name: Install Dependencies
27
+ run: npm install
28
29
+ - name: Build
30
+ run: npm run build
31
32
+ - name: Deploy
33
+ uses: peaceiris/actions-gh-pages@v3
34
35
+ github_token: ${{ secrets.GITHUB_TOKEN }}
36
+ publish_dir: ./dist
0 commit comments