forked from NebulaSS13/Nebula
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (33 loc) · 930 Bytes
/
generate_documentation.yml
File metadata and controls
36 lines (33 loc) · 930 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
name: Generate Documentation
on:
push:
branches:
- dev
workflow_dispatch:
env:
SPACEMAN_DMM_VERSION: suite-1.7.2
jobs:
generate_documentation:
if: "!contains(github.event.head_commit.message, '[ci skip]')"
runs-on: ubuntu-latest
concurrency: gen-docs
steps:
- uses: actions/checkout@v3
- name: Setup Cache
uses: actions/cache@v3
with:
path: $HOME/spaceman_dmm/$SPACEMAN_DMM_VERSION
key: ${{ runner.os }}-spacemandmm-${{ env.SPACEMAN_DMM_VERSION }}
- name: Install dmdoc
run: scripts/install-spaceman-dmm.sh dmdoc
- name: Generate documentation
run: |
~/dmdoc
touch dmdoc/.nojekyll
- name: Deploy
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages-dmdoc
folder: dmdoc
force: false