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.
Deze repo is gearchiveerd. U kunt bestanden bekijken en het klonen, maar niet pushen of problemen/pull-requests openen.
|
- #!/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 "$@"
|