All of the webhooks the website uses for updates
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 

24 satır
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