File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 82
82
- uses : julia-actions/julia-docdeploy@v1
83
83
env :
84
84
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
85
+ DOCUMENTER_KEY_CAM : ${{ secrets.DAMTP_DEPLOY_KEY }}
85
86
- run : |
86
87
julia --project=docs -e '
87
88
using Documenter: DocMeta, doctest
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ makedocs(;
36
36
sitename= " BorrowChecker.jl" ,
37
37
format= Documenter. HTML (;
38
38
prettyurls= get (ENV , " CI" , " false" ) == " true" ,
39
- canonical= " https://astroautomata.com/BorrowChecker.jl " ,
39
+ canonical= " https://ai.damtp.cam.ac.uk/borrowcheckerjl " ,
40
40
edit_link= " main" ,
41
41
assets= String[],
42
42
repolink= " https://github.com/mcranmer/BorrowChecker.jl" ,
@@ -46,3 +46,11 @@ makedocs(;
46
46
)
47
47
48
48
deploydocs (; repo= " github.com/MilesCranmer/BorrowChecker.jl" , devbranch= " main" )
49
+
50
+ # Mirror to DAMTP:
51
+ ENV [" DOCUMENTER_KEY" ] = ENV [" DOCUMENTER_KEY_CAM" ]
52
+ ENV [" GITHUB_REPOSITORY" ] = " ai-damtp-cam-ac-uk/borrowcheckerjl.git"
53
+ deploydocs (;
54
+ repo= " github.com/ai-damtp-cam-ac-uk/borrowcheckerjl.git" ,
55
+ devbranch= " main"
56
+ )
You can’t perform that action at this time.
0 commit comments