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 44686b5 commit 549f4bfCopy full SHA for 549f4bf
.github/workflows/node.js.yml
@@ -3,28 +3,17 @@ on:
3
push:
4
branches:
5
- master
6
-
7
jobs:
8
build-and-deploy:
9
runs-on: ubuntu-latest
10
steps:
11
- name: Checkout
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
+ uses: actions/checkout@master
24
25
- - name: Deploy to GitHub Pages
26
- uses: JamesIves/github-pages-deploy-action@v4
27
+ - name: Build and Deploy
+ uses: JamesIves/github-pages-deploy-action@master
+ env:
28
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
29
BRANCH: gh-pages
30
FOLDER: .vuepress/dist
+ BUILD_SCRIPT: npm install && npm run build
0 commit comments