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"
2020# Reopen later succeeds _despite being older_ -> inconsistent state (PR closed, but docs online).
2121# This can be mitigated by always committing (no abort on stale).
2222
23+
2324PRE=" Docs | $repo /$num |"
2425echo " $PRE start COMMIT operation."
2526
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+
2633git config user.name " Godot-Rust Automation"
2734git config user.email " GodotRust@users.noreply.github.com"
2835
Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ echo "$PRE start DELETE operation."
1616# grep -v "$repo $num" deployed.txt > deployed-tmp.txt
1717# mv deployed-tmp.txt deployed.txt
1818
19- if [[ " $num " == " master" ]]; then
19+ # Allow deletion of 'gdnative' master, since it's phased out.
20+ if [[ " $num " == " master" && " $repo " != " gdnative" ]]; then
2021 echo " ::error::Cannot delete docs for master branch."
2122 exit 1
2223fi
You can’t perform that action at this time.
0 commit comments