Skip to content

Commit

Permalink
Add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Louis Nicolas Stenger committed Nov 11, 2024
1 parent df2a804 commit 9f0cdfc
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/sphinx.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: "Sphinx: Build Fortran90.org"

on:
push:
branches: ["master"]


permissions:
contents: read
pages: write
id-token: write

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build HTML
uses: ammaraskar/sphinx-action@master
with:
docs-folder: "./"
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: html-docs
path: _build/html/
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: _build/html

0 comments on commit 9f0cdfc

Please sign in to comment.