Skip to content

Commit 5371491

Browse files
committed
Merge branch 'master' of https://github.com/CWH6/vuepressv2
2 parents f694e3e + bddedda commit 5371491

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/node.js.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: GitHub Actions blog
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
build-and-deploy:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v2
12+
13+
- name: Install Dependencies
14+
run: npm install
15+
16+
- name: Build
17+
run: npm run build
18+
19+
- name: Deploy to GitHub Pages
20+
uses: JamesIves/github-pages-deploy-action@v4
21+
with:
22+
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
23+
BRANCH: gh-pages
24+
FOLDER: .vuepress/dist

0 commit comments

Comments
 (0)