Skip to content

Add 6.0.1 & archive 6.0.0 pre-releases #321

Add 6.0.1 & archive 6.0.0 pre-releases

Add 6.0.1 & archive 6.0.0 pre-releases #321

---
name: Build documentation
"on":
workflow_dispatch:
push:
paths:
- 'doc/source/**'
- '.github/workflows/build-documentation.yml'
branches:
- main
pull_request:
paths:
- 'doc/source/**'
- '.github/workflows/build-documentation.yml'
jobs:
default:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- uses: actions/setup-python@v4
with:
python-version: '3.x'
- run: pip3 install -r requirements.txt
- run: sphinx-build -b html doc/source doc/build/html
- uses: SamKirkland/FTP-Deploy-Action@v4.3.4
with:
local-dir: doc/build/html/
password: ${{ secrets.FTP_PASSWORD }}
protocol: ftps
security: strict
server-dir: /
server: ${{ secrets.FTP_SERVER }}
username: ${{ secrets.FTP_USERNAME }}
if: |
github.repository == 'osism/release' &&
github.ref == 'refs/heads/main'