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 248B

123456789101112131415
  1. npm run build:env
  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 --no-verify -m "$msg"
  12. git push