File tree Expand file tree Collapse file tree 2 files changed +41
-4
lines changed Expand file tree Collapse file tree 2 files changed +41
-4
lines changed Original file line number Diff line number Diff line change 1+ name : " Publish"
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+ branches : ["master"]
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-24.04
11+ permissions :
12+ contents : write
13+ steps :
14+ - uses : actions/checkout@v5
15+ with :
16+ persist-credentials : false
17+ - uses : actions/setup-python@v6
18+ with :
19+ python-version : " 3.13"
20+ - uses : astral-sh/setup-uv@v6
21+ - run : uv run make dirhtml
22+ - uses : actions/upload-pages-artifact@v4
23+ with :
24+ path : build/dirhtml/
25+
26+ deploy :
27+ runs-on : ubuntu-24.04
28+ needs : build
29+ permissions :
30+ pages : write
31+ id-token : write
32+ environment :
33+ name : github-pages
34+ url : ${{ steps.deployment.outputs.page_url }}
35+ steps :
36+ - uses : actions/deploy-pages@v4
37+ id : deployment
Original file line number Diff line number Diff line change 1616 "logo_light" : "./_static/Judge0 Icon 07 Rounded 1024x1024.png" ,
1717 "logo_dark" : "./_static/Judge0 Icon 06 Rounded 1024x1024.png" ,
1818 "main_nav_links" : {
19- "Home" : "/ index" ,
20- "Products" : "/ products" ,
21- "Pricing" : "/ products/judge0/pricing" ,
22- "FAQ" : "/ faq" ,
19+ "Home" : "index" ,
20+ "Products" : "products" ,
21+ "Pricing" : "products/judge0/pricing" ,
22+ "FAQ" : "faq" ,
2323 },
2424 "show_prev_next" : True ,
2525 "awesome_external_links" : True ,
You can’t perform that action at this time.
0 commit comments