File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -15,11 +15,15 @@ before_deploy:
1515- chmod 600 ./deploy/id_simpixel
1616- ssh-add ./deploy/id_simpixel
1717deploy :
18+ # deploy to beta on ALL commits
1819- provider : script
1920 skip_cleanup : true
2021 script : rsync -rav --delete $TRAVIS_BUILD_DIR/dist/ simpixel@simpixel.io:/home/simpixel/beta.simpixel.io/
2122 on :
2223 all_branches : true
23- # before_install:
24- # - openssl aes-256-cbc -K $encrypted_571d7fdf2a62_key -iv $encrypted_571d7fdf2a62_iv
25- # -in ./deploy/id_simpixel.enc -out ./deploy/id_simpixel -d
24+ # deploy to production on tag creation (only happens when release is created)
25+ - provider : script
26+ skip_cleanup : true
27+ script : rsync -rav --delete $TRAVIS_BUILD_DIR/dist/ simpixel@simpixel.io:/home/simpixel/simpixel.io/
28+ on :
29+ tags : true
You can’t perform that action at this time.
0 commit comments