File tree Expand file tree Collapse file tree 3 files changed +35
-2
lines changed Expand file tree Collapse file tree 3 files changed +35
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Doc Preview Cleanup
2
+
3
+ on :
4
+ pull_request :
5
+ types : [closed]
6
+
7
+ # Ensure that only one "Doc Preview Cleanup" workflow is force pushing at a time
8
+ concurrency :
9
+ group : doc-preview-cleanup
10
+ cancel-in-progress : false
11
+
12
+ jobs :
13
+ doc-preview-cleanup :
14
+ runs-on : ubuntu-latest
15
+ permissions :
16
+ contents : write
17
+ steps :
18
+ - name : Checkout gh-pages branch
19
+ uses : actions/checkout@v4
20
+ with :
21
+ ref : gh-pages
22
+ - name : Delete preview and history + push changes
23
+ run : |
24
+ if [ -d "${preview_dir}" ]; then
25
+ git config user.name "Documenter.jl"
26
+ git config user.email "[email protected] "
27
+ git rm -rf "${preview_dir}"
28
+ git commit -m "delete preview"
29
+ git branch gh-pages-new $(echo "delete history" | git commit-tree HEAD^{tree})
30
+ git push --force origin gh-pages-new:gh-pages
31
+ fi
32
+ env :
33
+ preview_dir : previews/PR${{ github.event.number }}
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ RuntimeGeneratedFunctions = "0.5.12"
67
67
SciMLBase = " 2.57.2"
68
68
Setfield = " 1"
69
69
# StructuralIdentifiability = "0.5.8"
70
- SymbolicUtils = " 2.1.2, 3.3.0 "
70
+ SymbolicUtils = " < 3.8 "
71
71
Symbolics = " 6.22"
72
72
Unitful = " 1.12.4"
73
73
julia = " 1.10"
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ IncompleteLU = "0.2"
62
62
JumpProcesses = " 9.13.2"
63
63
Latexify = " 0.16.5"
64
64
LinearSolve = " 2.30"
65
- ModelingToolkit = " 9.32 "
65
+ ModelingToolkit = " < 9.60 "
66
66
NonlinearSolve = " 3.12, 4"
67
67
Optim = " 1.9"
68
68
Optimization = " 4"
You can’t perform that action at this time.
0 commit comments