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.
|
- #! /bin/bash
-
- branch=${2#"refs/heads/"}
-
- echo "Updating $branch in $1"
-
- if [ "$branch" == "master" ]
- then
- cd nightly/$1
- git pull
- else
- cd preview/$1/$branch
- git pull
- fi
-
- # temporarily keeping both versions on the latest commit
-
- if [ $1 == "macrovision" ]
- then
- cd /home/web/crux.sexy/macrovision
- git pull
- fi
-
- python $WEBHOOK_SCRIPT_DIR/commits.py $1 $COMMITS_DIR/$1.json
|