All of the webhooks the website uses for updates
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

24 行
388 B

  1. #! /bin/bash
  2. branch=${2#"refs/heads/"}
  3. echo "Updating $branch in $1"
  4. if [ "$branch" == "master" ]
  5. then
  6. cd nightly/$1
  7. git pull
  8. else
  9. cd preview/$1/$branch
  10. git pull
  11. fi
  12. # temporarily keeping both versions on the latest commit
  13. if [ $1 == "macrovision" ]
  14. then
  15. cd /home/web/crux.sexy/macrovision
  16. git pull
  17. fi
  18. python $WEBHOOK_SCRIPT_DIR/commits.py $1 $COMMITS_DIR/$1.json