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 a51fd65 commit 2890b40Copy full SHA for 2890b40
.github/workflows/build-website-master.yml
@@ -0,0 +1,26 @@
1
+name: build-website-master
2
+
3
+on:
4
+ push:
5
+ branches: [master]
6
+ paths:
7
+ - 'docs/**'
8
9
+jobs:
10
+ gh-release:
11
+ if: github.event_name != 'pull_request'
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v1
15
+ - uses: actions/setup-node@v1
16
+ with:
17
+ node-version: '20.x'
18
+ - name: Build
19
+ run: |
20
+ npm ci
21
+ npm run build
22
+ - name: Release to GitHub Pages
23
+ uses: peaceiris/actions-gh-pages@v3
24
25
+ github_token: ${{ secrets.GITHUB_TOKEN }}
26
+ publish_dir: ./dist
.github/workflows/build-website.yml
@@ -5,6 +5,7 @@ on:
branches: [docs]
push:
+ workflow_dispatch:
jobs:
gh-release:
0 commit comments