Bumped version for new release. #68
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- 'tests/**' | |
- 'cmake/**' | |
- 'extern/**' | |
name: Build documentation | |
jobs: | |
build-spec: | |
runs-on: ubuntu-latest | |
container: bioconductor/bioconductor_docker:devel | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Compile markdown | |
run: | | |
cd docs/specifications | |
R -f build.R | |
- name: Upload markdown | |
uses: actions/upload-artifact@v3 | |
with: | |
name: built-spec | |
path: docs/specifications/compiled | |
docs: | |
runs-on: ubuntu-latest | |
needs: build-spec | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Add Pretty CSS | |
uses: wei/wget@v1 | |
with: | |
args: -O docs/doxygen-awesome.css https://raw.githubusercontent.com/jothepro/doxygen-awesome-css/main/doxygen-awesome.css | |
- name: Doxygen Action | |
uses: mattnotmitt/doxygen-action@v1 | |
with: | |
working-directory: docs/ | |
- name: Change permissions | |
run: sudo chmod 777 docs/html | |
- name: Download markdown | |
uses: actions/download-artifact@v3 | |
with: | |
name: built-spec | |
path: docs/html/specifications | |
- name: GH Pages Deployment | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: docs/html | |
target-folder: docs/ | |
clean: true # Automatically remove deleted files from the deploy branch |