您最多选择25个主题
主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
此仓库已存档。您可以查看文件和克隆,但不能推送或创建工单/合并请求。
|
- #!/bin/bash
-
- set -e
-
- remote="$1"
- url="$2"
-
- z40=0000000000000000000000000000000000000000
-
- while read local_ref local_sha remote_ref remote_sha
- do
- if [[ "${local_sha}" = $z40 ]]; then
- echo "Deleting stuff, nothing to do"
- else
- (
- cd cours
- poetry run python build.py --clean --werror
- poetry run python build.py --format pdf
- poetry run python deploy.py
- )
- fi
- done
-
- git lfs pre-push "$@"
|