-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c44bb84
commit a1ca434
Showing
1 changed file
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,11 +15,15 @@ before_deploy: | |
- chmod 600 ./deploy/id_simpixel | ||
- ssh-add ./deploy/id_simpixel | ||
deploy: | ||
# deploy to beta on ALL commits | ||
- provider: script | ||
skip_cleanup: true | ||
script: rsync -rav --delete $TRAVIS_BUILD_DIR/dist/ [email protected]:/home/simpixel/beta.simpixel.io/ | ||
on: | ||
all_branches: true | ||
# before_install: | ||
# - openssl aes-256-cbc -K $encrypted_571d7fdf2a62_key -iv $encrypted_571d7fdf2a62_iv | ||
# -in ./deploy/id_simpixel.enc -out ./deploy/id_simpixel -d | ||
# deploy to production on tag creation (only happens when release is created) | ||
- provider: script | ||
skip_cleanup: true | ||
script: rsync -rav --delete $TRAVIS_BUILD_DIR/dist/ [email protected]:/home/simpixel/simpixel.io/ | ||
on: | ||
tags: true |