Skip to content

chore(deps): update actions/checkout digest to b4ffde6 #312

chore(deps): update actions/checkout digest to b4ffde6

chore(deps): update actions/checkout digest to b4ffde6 #312

---
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@8ade135a41bc03ea155e62e844d188df1ea18608 # 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'