Skip to content

Updated README.md

Updated README.md #11

Workflow file for this run

# 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: ./doc/publish
destination_dir: ./prospect