您不能選擇超過 %s 個話題 話題必須以字母或數字為開頭,可包含連接號 ('-') 且最長為 35 個字
此存儲庫已封存,您能瀏覽檔案及複製此存儲庫,但不能推送、建立問題及拉取請求。

pre-push-hook 403 B

12345678910111213141516171819202122
  1. #!/bin/bash
  2. set -e
  3. remote="$1"
  4. url="$2"
  5. z40=0000000000000000000000000000000000000000
  6. while read local_ref local_sha remote_ref remote_sha
  7. do
  8. if [[ "${local_sha}" = $z40 ]]; then
  9. echo "Deleting stuff, nothing to do"
  10. else
  11. (
  12. cd cours
  13. poetry run python build.py --clean --werror
  14. poetry run python build.py --format pdf
  15. poetry run python deploy.py
  16. )
  17. fi
  18. done