added deploy

This commit is contained in:
Erik Fröjdh 2024-10-30 16:04:11 +01:00
parent 41fbddb750
commit 6b8f2478b6

View File

@ -42,6 +42,22 @@ jobs:
make -j 2
make docs
- name: Upload static files as artifact
id: deployment
uses: actions/upload-pages-artifact@v3
with:
path: build/docs/html/
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