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 0ce6c9d commit 44686b5Copy full SHA for 44686b5
.github/workflows/node.js.yml
@@ -3,17 +3,28 @@ on:
3
push:
4
branches:
5
- master
6
+
7
jobs:
8
build-and-deploy:
9
runs-on: ubuntu-latest
10
steps:
11
- name: Checkout
- uses: actions/checkout@master
12
+ uses: actions/checkout@v2
13
14
+ - name: Setup Node.js
15
+ uses: actions/setup-node@v3
16
+ with:
17
+ node-version: '18.16.0'
18
19
+ - name: Install dependencies
20
+ run: npm install
21
22
+ - name: Build docs
23
+ run: npm run build
24
- - name: Build and Deploy
- uses: JamesIves/github-pages-deploy-action@master
- env:
25
+ - name: Deploy to GitHub Pages
26
+ uses: JamesIves/github-pages-deploy-action@v4
27
28
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
29
BRANCH: gh-pages
30
FOLDER: .vuepress/dist
- BUILD_SCRIPT: npm install && npm run build
0 commit comments