ref: 968a17b87ed4cc85bd22a4c9e7c3d5790159709d
parent: faf35426f7cefe64963b6ecbb129d4455c5f1166
author: zamfofex <zamfofex@twdb.moe>
date: Wed May 8 08:36:42 EDT 2024
apply small fix to ‘build.yml’
--- a/.build.yml
+++ b/.build.yml
@@ -28,11 +28,11 @@
llvm-strip --strip-all moonfish.wasm
- deploy: |
set +x
- if test "x$GIT_REF" = x
+ if test "x$GIT_REF" = x || ! test -f neocities-token.txt
then exit 0
fi
- if test "$GIT_REF" = refs/heads/main && test -f neocities-token.txt
+ if test "$GIT_REF" = refs/heads/main
then root=
else root="${GIT_REF#refs/heads/}"fi
--
⑨