Skip to content

Merge branch 'main' of github.com:Kataglyphis/WebDavClient #12

Merge branch 'main' of github.com:Kataglyphis/WebDavClient

Merge branch 'main' of github.com:Kataglyphis/WebDavClient #12

Workflow file for this run

# 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
pip install -r requirements/test.txt
- name: Run tests
run: |
cd tests
pytest
- 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/"