From 132d0898e056e2cd875d8ce5aff407f9d38f6ab0 Mon Sep 17 00:00:00 2001 From: zessirb Date: Fri, 3 Aug 2018 00:56:06 +0200 Subject: [PATCH] Added continuous deployment --- .travis.yml | 15 ++++++++++++++- deploy_rsa.enc | Bin 0 -> 3248 bytes 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 deploy_rsa.enc diff --git a/.travis.yml b/.travis.yml index 4e6a512..3f267c9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,19 @@ before_install: addons: sonarcloud: organization: ylinor-github + ssh_known_hosts: onaple.fr script: - ./gradlew sonarqube - - ./gradlew build \ No newline at end of file +before_deploy: +- openssl aes-256-cbc -K $encrypted_182d1a38c631_key -iv $encrypted_182d1a38c631_iv + -in deploy_rsa.enc -out /tmp/deploy_rsa -d +- eval "$(ssh-agent -s)" +- chmod 600 /tmp/deploy_rsa +- ssh-add /tmp/deploy_rsa +deploy: +- provider: script + skip_cleanup: true + script: rsync -r --delete-after --quiet $TRAVIS_BUILD_DIR/build/libs/* aventurier@onaple.fr:~/sponge-server-1.12/mods/ + on: + tags: true + all_branches: false diff --git a/deploy_rsa.enc b/deploy_rsa.enc new file mode 100644 index 0000000000000000000000000000000000000000..df2ff48b545fa945d74b64f508131d84ee286c48 GIT binary patch literal 3248 zcmV;h3{UfKqn}7lbUE2YCz4R}LNL$!^*i+o#p<&mI9S=(DE|#_8rX(2+#HJZ-|7U9DfuPsr;(fk>WPHGbhTgg-468c8 znc+H|7o@#(YgVU5ya2j+bCpan<(tXD>~*TdkNPz+J&%~zKNX?SMo{#;)k}$i3r58zg11Pd-Zz^;PoH@BF%H zmr0rlB<;}~a9OUJHAX@!e&VF!N1u`e{(|knh2i|y#1xrX@pKQ7`zTwcP6B) zt#fUe5#wP2g*cY(_z!Am*PE(v`TVW^>a#KBC!d)=P=u}?(88q2Db=(|ncikXMpUE!5$T_RY*-O@ zC3&C4?VPKonARJ8+Nh~Hi%k#qZArbr{R#ykl?<>vo!c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