Skip to content

Bump actions/deploy-pages from 4 to 5 (#42) #69

Bump actions/deploy-pages from 4 to 5 (#42)

Bump actions/deploy-pages from 4 to 5 (#42) #69

Workflow file for this run

# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches: ["main"]
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Build_Docs
shell: bash -l {0}
run: |
pip install sphinx ipython
cd docs
make html
- name: Upload artifact
uses: actions/upload-pages-artifact@v4
with:
# Upload entire repository
path: 'docs/build/html'
- name: Deploy to GitHub Pages
# if: github.ref == 'refs/heads/main'
id: deployment
uses: actions/deploy-pages@v5