Merge pull request #152 from TheFakeMontyOnTheRun/ui-ux-tweaks #561
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
name: publish docs for the CORE | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Checkout submodules | |
run: git submodule update --init --recursive | |
- name: Install MKDocs | |
run: pip install mkdocs | |
- name: Install lcov, texinfo and Doxygen | |
run: sudo apt-get install lcov texinfo doxygen | |
- name: Generate HTML from game design markdown files | |
run: cd core && mkdocs build | |
- name: Generate text coverage report | |
run: cd core && make report && mv coverage site | |
- name: Generate Doxygen docs | |
run: cd core && make doxy-site && mv doxy-site site | |
- name: Deploy | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: core/site |