Skip to content

test out the process #105

test out the process

test out the process #105

Workflow file for this run

name: release
on:
push:
branches:
- master
- update_github_actions
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