File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 2424 - name : Build and deploy
2525 env :
2626 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
27- DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
27+ DOCUMENTER_KEY_CAM : ${{ secrets.DAMTP_DEPLOY_KEY }}
2828 run : |
2929 cd docs
3030 julia --project=. make.jl
31-
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ makedocs(;
5656 authors= " Miles Cranmer" ,
5757 clean= true ,
5858 format= Documenter. HTML (;
59- canonical= " https://symbolicml.org/DynamicExpressions.jl /stable"
59+ canonical= " https://ai.damtp.cam.ac.uk/dynamicexpressions /stable"
6060 ),
6161 pages= [
6262 " Home" => " index.md" ,
@@ -101,3 +101,8 @@ open(redirect_file, "w") do f
101101end
102102
103103deploydocs (; repo= " github.com/SymbolicML/DynamicExpressions.jl.git" )
104+
105+ # Mirror to DAMTP:
106+ ENV [" DOCUMENTER_KEY" ] = ENV [" DOCUMENTER_KEY_CAM" ]
107+ ENV [" GITHUB_REPOSITORY" ] = " ai-damtp-cam-ac-uk/dynamicexpressions.git"
108+ deploydocs (; repo= " github.com/ai-damtp-cam-ac-uk/dynamicexpressions.git" )
You can’t perform that action at this time.
0 commit comments