-
Notifications
You must be signed in to change notification settings - Fork 20
33 lines (29 loc) · 834 Bytes
/
ci.yml
File metadata and controls
33 lines (29 loc) · 834 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
31
32
33
name: Deploy documentation to Github Pages
# only from master branch
on:
push:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
# https://github.com/actions/checkout
- name: Checkout 🛎️
uses: actions/checkout@v3
with:
persist-credentials: false
- uses: actions/setup-node@v3
with:
node-version: 16.20.0
- name: NPM install 📦
uses: bahmutov/npm-install@v1
- name: Build site 🏗
run: npm run docs:build --no-cache
# https://github.com/marketplace/actions/github-pages-action
- name: Deploy 🚀
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/.vuepress/dist
cname: devdocs.qloapps.com