-
-
Notifications
You must be signed in to change notification settings - Fork 6
30 lines (28 loc) · 692 Bytes
/
documentation.yml
File metadata and controls
30 lines (28 loc) · 692 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: 'Build & Deploy Documentation'
on:
# release:
# types:
# - created
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v1
- name: 'Setup NodeJs'
uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: 'Install dependencies'
run: npm -v && npm install
- name: 'Build documentation'
run: npm run docs:prod
- name: 'Deploy to GitHub-Pages'
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: Documentation/.vuepress/dist