Retry #7
Workflow file for this run
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
# GitHub workflow for deploying the documentation to GitHub Pages | |
name: deploy_doc | |
on: | |
push: | |
branches: | |
- main | |
- documentation | |
# paths: | |
# - 'doc/**' | |
# | |
jobs: | |
deploy_doc: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🛎️ Checkout | |
uses: actions/checkout@v3 | |
- name: Setup environment | |
run: | | |
pip install sphinx | |
pip install sphinx-copybutton | |
pip install sphinx-rtd-theme | |
pip install sphinx-tabs | |
- name: 📖 Build documentation | |
run: | | |
echo ${GITHUB_WORKSPACE} | |
cd ${GITHUB_WORKSPACE} | |
cd ${GITHUB_WORKSPACE}/doc/ | |
make | |
- name: 🚀 Deploy documentation | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} | |
external_repository: AarhusCosmology/aarhuscosmology.github.io | |
publish_branch: gh-pages | |
publish_dir: publish | |
destination_dir: prospect |