您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
此仓库已存档。您可以查看文件和克隆,但不能推送或创建工单/合并请求。
 
 
 
 
 
 

25 行
426 B

  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
  19. git lfs pre-push "$@"