Skip to content

Commit

Permalink
update gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
luiarthur committed Jan 14, 2025
1 parent ac67562 commit e582dba
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,19 @@ jobs:
run: |
uv run pdoc --math ./src/arianna -o ./docs --docformat numpy
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
- name: Upload static files as artifact
id: deployment
uses: actions/upload-pages-artifact@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/
publish_branch: gh-pages
path: docs/

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit e582dba

Please sign in to comment.