Skip to content

Commit

Permalink
added github action
Browse files Browse the repository at this point in the history
  • Loading branch information
xavierr committed Mar 22, 2024
1 parent 236daeb commit ed67bc2
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/graphdoc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: "Sphinx: Render docs"

on:
push:
branches: [ graphdoc ]

jobs:
build:

runs-on: ubuntu-latest

permissions:
contents: write

steps:
- uses: actions/checkout@v4
- name: Build HTML
uses: ammaraskar/sphinx-action@master
with:
docs-folder: "GraphDocumentation/"
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: documentationHTML
path: GraphDocumentation/_build/html/
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/graphdoc'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: GraphDocumentation/_build/html

0 comments on commit ed67bc2

Please sign in to comment.