gh-83: rework app structure & remove globals entirely, explicit depen… #165
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: 📚 docs c/c++ & python | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- '.github/**' | |
- 'engine/**' | |
- 'Doxyfile' | |
- 'README.md' | |
jobs: | |
build: | |
# Do not attempt to deploy documentation on forks | |
if: github.repository_owner == 'EgorOrachyov' | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Generate documentation | |
uses: mattnotmitt/doxygen-action@v1.3.1 | |
- name: Publish to Github Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./html/ |