-
Notifications
You must be signed in to change notification settings - Fork 27
39 lines (34 loc) · 951 Bytes
/
documentation.yml
File metadata and controls
39 lines (34 loc) · 951 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
34
35
36
37
38
39
name: Update Documentation
on:
workflow_dispatch:
push:
branches:
- master
jobs:
documentation:
# Generate documentation and push to gh-pages branch using the predefined JDK versions in the strategy section
name: Documentation
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [ 8.x ]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install tools
run: npm install
- name: Generate Documentation
run: npm run docs
- name: Push
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: gh-pages
FOLDER: docs
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MESSAGE: "Documentation updated"