All of the webhooks the website uses for updates
Nelze vybrat více než 25 témat
Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
|
- #! /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
|