File: sphinx.yml

package info (click to toggle)
ipe 7.2.30-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,844 kB
  • sloc: cpp: 42,635; makefile: 664; sh: 44; xml: 17; ansic: 14; python: 7
file content (26 lines) | stat: -rw-r--r-- 644 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: Sphinx build
on:
  push:
    paths:
      - 'manual/**'
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
    - name: Build HTML
      uses: ammaraskar/sphinx-action@master
      with:
        docs-folder: "manual/"
        build-command: "sphinx-build -M html . ../build"
    - name: Upload artifacts
      uses: actions/upload-artifact@v3
      with:
        name: ipe-manual
        path: build/html/
    - name: Deploy
      uses: peaceiris/actions-gh-pages@v3
      if: github.ref == 'refs/heads/master'
      with:
        github_token: ${{ secrets.GITHUB_TOKEN }}
        publish_dir: build/html