File tree Expand file tree Collapse file tree 1 file changed +16
-13
lines changed
Expand file tree Collapse file tree 1 file changed +16
-13
lines changed Original file line number Diff line number Diff line change 66 workflow_dispatch :
77
88jobs :
9- deploy :
9+ build :
1010 runs-on : ubuntu-latest
1111
1212 steps :
@@ -36,16 +36,19 @@ jobs:
3636 uv pip install -e .
3737 uv run mkdocs build --verbose
3838
39- - name : Upload Artifacts
40- uses : actions/upload-artifact@v4
39+ - name : Upload static files as artifact
40+ id : deployment
41+ uses : actions/upload-pages-artifact@v3
4142 with :
42- name : gh-pages
43- path : ./site
44-
45- # - name: Deploy to GitHub Pages
46- # uses: peaceiris/actions-gh-pages@v3
47- # with:
48- # github_token: ${{ secrets.GITHUB_TOKEN }}
49- # publish_dir: ./site
50- # force_orphan: true
51-
43+ path : site/
44+
45+ deploy :
46+ environment :
47+ name : github-pages
48+ url : ${{ steps.deployment.outputs.page_url }}
49+ runs-on : ubuntu-latest
50+ needs : build
51+ steps :
52+ - name : Deploy to GitHub Pages
53+ id : deployment
54+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments