Skip to content

Commit

Permalink
setup travis releases
Browse files Browse the repository at this point in the history
  • Loading branch information
giucu91 committed Sep 26, 2017
1 parent 26ac726 commit da7ee0d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
14 changes: 12 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,15 @@ cache:
directories:
- node_modules
after_success:
- if [[ "$DEPLOY" == "1" ]]; then grunt build-archive; fi
- if [[ "$DEPLOY" == "1" ]]; then sh set_tags.sh; fi
- if [[ "$DEPLOY" == "1" ]]; then grunt build-archive; fi
- if [[ "$DEPLOY" == "1" ]]; then sh set_tags.sh; fi
deploy:
provider: releases
skip_cleanup: true
api_key:
secure: FSgyXXwuQGFOfh3JgR1bPmzDabRAxQKObyR7bK9nP3eUIPGoGMc6mufLwqhaOjUYKh3qR9gXL7sGw5Hh0sjc9Tu7pg8g4RAKftvWn0ER8MDCjs58Yh/dpVmsZ/JQHUufTlBsqeOv+5h8dzELDaMjBiinZ/qBF02wIDvf/MpxtbFfUxPOkIGzHTt5Uc5AtVtZHoNBM0vHeDWWb3RKdIryU9eHUYNyG+rAjTots1KNsc0//57J+uHbWRA/15gm/omuB9aHeLweTtTH+vEj7RIli8Sx0EaxPXWB+pnMK2qtNec6SgET9DgXC3FJZOybfazFQaR21OZxvS5OnYBEnZdztsHWDI7EELrD6NVtkfPZ97cXBAsv1jZDeVn42k4feCfo9sBazEjati1BiWJbWCnJ8LCyVUntyl3Iy7do6KjihwnxVOJU+wvBTQR1e+wyLjLoBFKnWMNW7U4AauXwFJe0oa25/cUT2Ydzn9XYrbCsmgrG8XYocXvrxQxpAT1r8xOrTnqN04CYdZffVrw4L0NwQLvLdK6EtMywCo+UC8rBtDlPE1rD2K8qX4+P59AeRZt/4+KvtIxedlau5PrXPqTAIQo8Sdv4UxVkO535K8r9ICWoMk2WpOs8NRyBBNQBdN3ZcWi3SWlcqrFrqA4JxltUO1fMMfqcsrPzb/Y0DedgJYk=
file: illdy.zip
on:
repo: puikinsh/illdy
branch: 'master'
condition: "$DEPLOY = 1"
2 changes: 1 addition & 1 deletion set_tags.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
BRANCH="production"
BRANCH="master"

# Are we on the right branch?
if [ "$TRAVIS_BRANCH" = "$BRANCH" ]; then
Expand Down

0 comments on commit da7ee0d

Please sign in to comment.