25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

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