Update entrypoint.sh

main
不忘初心 2 years ago committed by GitHub
parent ba4803f1de
commit 7af22e2eb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -11,13 +11,6 @@ apk update \
### 执行upx upload ### 执行upx upload
./upx login ${bucket} ${operator} ${operator_password} ./upx login ${bucket} ${operator} ${operator_password}
if [[ $(./upx ls) ]]; then ./upx sync ${local_path} ${remote_path} --delete --strong
echo "start delete!"
./upx rm -a hugo/*
else
echo "start upx upload!"
fi
./upx put ${local_path} ${remote_path}
#./upx sync ${local_path} ${remote_path} --delete
echo "upx upload successful!" echo "upx upload successful!"
./upx logout ./upx logout

Loading…
Cancel
Save