Skip to content
This repository has been archived by the owner on Apr 21, 2024. It is now read-only.

Commit

Permalink
Update actions versions
Browse files Browse the repository at this point in the history
  • Loading branch information
teobucci committed Feb 27, 2024
1 parent faedcc2 commit 403e730
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/documentation.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: documentation
name: Build and deploy documentation

on:
push:
Expand All @@ -14,21 +14,30 @@ permissions:

jobs:
docs:
name: Build and deploy documentation
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- name: Checkout source
uses: actions/[email protected]

- name: Set up Python
uses: actions/[email protected]

- name: Install Pandoc
run: |
sudo apt-get update
sudo apt-get install -y pandoc
- name: Install dependencies
run: |
pip install ".[docs]"
python -m ipykernel install --user --name python3
- name: Sphinx build
run: |
sphinx-build docs/source docs/build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
Expand Down

0 comments on commit 403e730

Please sign in to comment.