You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

p.sh 235B

1234567891011121314
  1. npx vite build
  2. msg=$1
  3. ciskip="[CI SKIP]"
  4. if [[ $msg =~ deploy ]]; then
  5. echo "此次提交将会部署,请查看drone日志。"
  6. else
  7. echo "此次提交不部署"
  8. $msg="$msg$ciskip"
  9. fi
  10. git add .
  11. git commit -a -m "$msg"
  12. git push