Fix: Login button label is missing (#277) #7
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: Deploy Sphinx Documentation to GitHub Pages | |
on: | |
push: | |
branches: [ development, main ] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
cache: 'pip' | |
- name: Install system packages | |
run: sudo apt update && sudo apt install libffi-dev gettext | |
- name: Install dependencies | |
run: pip install --upgrade-strategy eager -Ur doc/requirements.txt | |
- name: Build documentation | |
run: make html | |
working-directory: doc | |
- name: Copy CNAME to deploy directory | |
run: cp doc/CNAME doc/_build/html | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: doc/_build/html |