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