All of the webhooks the website uses for updates
Nie możesz wybrać więcej, niż 25 tematów
Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
|
- #! /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
|