Skip to content

Commit

Permalink
test: doc publish
Browse files Browse the repository at this point in the history
  • Loading branch information
geronimo-iia committed Jan 21, 2025
1 parent 5a9d743 commit 17e80d5
Showing 1 changed file with 21 additions and 8 deletions.
29 changes: 21 additions & 8 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@ on:
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write


# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
Expand All @@ -22,7 +19,7 @@ concurrency:

jobs:
build:
name: Publish doc
name: Build doc
runs-on: ubuntu-latest
environment: pypi
strategy:
Expand All @@ -41,6 +38,22 @@ jobs:
- name: Install dependencies
run: make install
- name: Build and publish Documentation
run: |
uv run poe docs
uv run poe docs-publish
run: uv run poe docs
- name: Upload static files as artifact
id: deployment
uses: actions/upload-pages-artifact@v3
with:
path: docs/
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit 17e80d5

Please sign in to comment.