Skip to content

Support non-jpg thumbnail uploads #11

Support non-jpg thumbnail uploads

Support non-jpg thumbnail uploads #11

Workflow file for this run

name: server-docs
on:
pull_request:
paths:
- server/**
push:
branches: [main]
paths:
- server/**
permissions:
contents: write
jobs:
server-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- name: Install dependencies
run: |
python -m pip install -r server/requirements.txt
- name: Sphinx build
run: |
sphinx-build server/docs/source _build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: _build/