Skip to content

Commit

Permalink
fix config
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermukhin committed Feb 15, 2017
1 parent 3244b9e commit e1f04ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@ rvm:
before_script:
- chmod a+x ./scripts/build.sh
- chmod a+x ./scripts/deploy.sh

script:
- ./scripts/build.sh

deploy:
provider: script
script: ./scripts/deploy.sh
skip_cleanup: false
on:
branch: master

Expand Down
2 changes: 2 additions & 0 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

set -ev

git clone https://$GITHUB_REPO
cd $(basename ${GITHUB_REPO%.git})
git config user.name "Travis CI"
Expand Down

0 comments on commit e1f04ea

Please sign in to comment.