Skip to content

Commit 01952e2

Browse files
authored
Create docs.yml
1 parent 88e8828 commit 01952e2

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/docs.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Deploy Docs
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
7+
jobs:
8+
build-and-deploy:
9+
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
15+
- name: vuepress-deploy
16+
uses: jenkey2011/vuepress-deploy@master
17+
env:
18+
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
19+
TARGET_REPO: tobyzerner/json-api-server
20+
TARGET_BRANCH: gh-pages
21+
BUILD_SCRIPT: npm i && npm run docs:build
22+
BUILD_DIR: docs/.vuepress/dist/

0 commit comments

Comments
 (0)