Scheduled weekly dependency update for week 44 (#189) #142
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: build github_pages documentation | |
on: | |
push: | |
branches: | |
- master | |
# branches: "*" | |
jobs: | |
build_docs_job: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.12 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.12 | |
- name: prepare env | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y git rsync python3-pip | |
shell: bash | |
- name: Install dependencies | |
run: | | |
pip3 install -r requirements.txt | |
pip3 install sphinx sphinx-rtd-theme sphinx_md ghp-import myst-parser | |
shell: bash | |
- name: Build HTML | |
run: | | |
make html | |
shell: bash | |
- name: Run ghp-import | |
run: | | |
ghp-import -n -p -f _build/html | |
shell: bash |