Skip to content

Merge pull request #38 from querqy/update_github_actions #108

Merge pull request #38 from querqy/update_github_actions

Merge pull request #38 from querqy/update_github_actions #108

Workflow file for this run

name: release
on:
push:
branches:
- master
jobs:
release:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
run: |
sudo apt install pandoc
python -m pip install --upgrade pip
cd docs
pip install -r requirements.txt
- name: Build sphinx documentation
run: |
cd docs
make html
- name: Deploy-Action
uses: SamKirkland/[email protected]
env:
FTP_SERVER: ${{ secrets.SFTP_HOST }}
FTP_USERNAME: ${{ secrets.SFTP_USER }}
FTP_PASSWORD: ${{ secrets.SFTP_PASSWORD }}
LOCAL_DIR: docs/build/html
METHOD: sftp
PORT: 22
ARGS: --delete