hot fix #10
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
# This workflow uses actions that are not certified by GitHub. | |
# They are provided by a third-party and are governed by | |
# separate terms of service, privacy policy, and support | |
# documentation. | |
name: Deploy web page with sphinx | |
on: | |
push: | |
branches: [ "main" ] | |
jobs: | |
build: | |
name: 🚀 Deploy website on push | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🚚 Get latest code | |
uses: actions/[email protected] | |
- name: Set up Python 3.11 | |
uses: actions/[email protected] | |
with: | |
python-version: "3.11" | |
# You can test your matrix by printing the current Python version | |
- name: Setup python env | |
run: | | |
pip install -v -e . | |
pip install -r requirements/docs.txt | |
- name : Build web page | |
run: | | |
cd docs | |
make html | |
- name: 📂 Sync files to domain | |
uses: SamKirkland/[email protected] | |
with: | |
server: ${{ secrets.SERVER }} | |
username: ${{ secrets.USERNAME }} | |
password: ${{ secrets.PASSWORD }} | |
local-dir: "./docs/build/html/" |