All of the webhooks the website uses for updates
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 

24 Zeilen
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