Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ on:
branches:
- main

permissions:
contents: write

jobs:
build-and-upload:
build-docs:
name: Build & Upload Artifact
runs-on: ubuntu-latest
steps:
Expand All @@ -33,3 +36,20 @@ jobs:
with:
name: docs
path: docs/_build

upload-docs:
name: Upload docs to GitHub pages
runs-on: ubuntu-latest
needs: build-docs
steps:

- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
name: docs
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4.4.2
with:
folder: html
token: ${{ secrets.DOC_PAT }}
repository-name: dstansby/napari-matplotlib.github.io