Skip to content

Merge pull request #105 from PanDAWMS/next #35

Merge pull request #105 from PanDAWMS/next

Merge pull request #105 from PanDAWMS/next #35

Workflow file for this run

name: build-docs-workflow
on:
push:
branches:
- master
workflow_dispatch:
jobs:
build-docs:
name: "Build Sphinx docs"
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7']
steps:
- name: Checkout Pilot 3 repo
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Pip install
run: pip install sphinx
- name: Check sphinx version
run: python -c "import sphinx;print(sphinx.__version__)"
- name: Trigger panda-docs webhook
env:
READDOCS_TOKEN: ${{ secrets.READDOCS_TOKEN }}
READDOCS_HOOK: ${{ secrets.READDOCS_HOOK }}
run: curl -X POST -d "token=$READDOCS_TOKEN" $READDOCS_HOOK