forked from redecentralize/alternative-internet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
16 lines (16 loc) · 774 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
script:
- python update.py -a ${OHLOH_KEY}
after_success:
- if [ "master" != $TRAVIS_BRANCH ]; then exit 0; fi;
- git config --global user.email "[email protected]"
- git config --global user.name "Travis deploy"
- git remote add github "https://${GH_TOKEN}@github.com/redecentralize/alternative-internet.git"
> /dev/null
- git config credential.helper "store --file=.git/credentials"
- echo "https://${GH_TOKEN}@github.com" > .git/credentials
- git checkout master
- git commit -a -m "Updating README.md with new project details [ci skip]"
- git push github master
env:
global:
secure: "B0lrYAYfxgd0ku97K94xjjLOm+EhfSqnEVldwpMwex8TghWiD0u+Omns25H4xlSR9HDBM/84scgWA/GAbXAnvh7SFLlBu2Vfc/2V67UbrPuGvJRr9PpxEvOUCaSXguOWC1/C95Qww7YoFptPRxz8PXARf6eY5XYAX1cwX0DWT/s="