All of the webhooks the website uses for updates
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 

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