File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -20,9 +20,16 @@ date="$5"
20
20
# Reopen later succeeds _despite being older_ -> inconsistent state (PR closed, but docs online).
21
21
# This can be mitigated by always committing (no abort on stale).
22
22
23
+
23
24
PRE=" Docs | $repo /$num |"
24
25
echo " $PRE start COMMIT operation."
25
26
27
+ if [[ " $repo " == " gdnative" ]]; then
28
+ echo " $PRE INFO: 'gdnative' no longer deployed. Aborting."
29
+ echo " SKIP_WEBSITE_DEPLOY=true" >> " $GITHUB_ENV "
30
+ exit 0
31
+ fi
32
+
26
33
git config user.name " Godot-Rust Automation"
27
34
git config user.email " GodotRust@users.noreply.github.com"
28
35
Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ echo "$PRE start DELETE operation."
16
16
# grep -v "$repo $num" deployed.txt > deployed-tmp.txt
17
17
# mv deployed-tmp.txt deployed.txt
18
18
19
- if [[ " $num " == " master" ]]; then
19
+ # Allow deletion of 'gdnative' master, since it's phased out.
20
+ if [[ " $num " == " master" && " $repo " != " gdnative" ]]; then
20
21
echo " ::error::Cannot delete docs for master branch."
21
22
exit 1
22
23
fi
You can’t perform that action at this time.
0 commit comments