From 022558c293421a39da87a9806937446fc83f7e05 Mon Sep 17 00:00:00 2001 From: Matt Wynne Date: Fri, 15 Sep 2017 14:50:54 +0100 Subject: [PATCH] Attempt to publish to Cucumber Pro Based on https://docs.travis-ci.com/user/deployment/custom/ and https://docs.travis-ci.com/user/encrypting-files/ Let's see if this works... --- .gitignore | 1 + .travis.yml | 7 +++++++ .travis/deploy_key.pem.enc | Bin 0 -> 432 bytes 3 files changed, 8 insertions(+) create mode 100644 .travis/deploy_key.pem.enc diff --git a/.gitignore b/.gitignore index 880ad15d07..813beabd4a 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,4 @@ tags .project Gemfile.local .envrc +.travis diff --git a/.travis.yml b/.travis.yml index bf7eede1f0..f7d5b221a2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -67,3 +67,10 @@ notifications: urls: # gitter - https://webhooks.gitter.im/e/dc010332f9d40fcc21c4 slack: cucumberbdd:oQFVhzsx4R94KWmjlejAJYnM + +after_success: + - openssl aes-256-cbc -K $encrypted_aa6a67ad4434_key -iv $encrypted_aa6a67ad4434_iv -in .travis/deploy_key.pem.enc -out .travis/deploy_key.pem -d + - eval "$(ssh-agent -s)" #start the ssh agent + - chmod 600 .travis/deploy_key.pem # this key should have push access + - ssh-add .travis/deploy_key.pem + - git push git@git.cucumber.pro:cucumber-ruby.git diff --git a/.travis/deploy_key.pem.enc b/.travis/deploy_key.pem.enc new file mode 100644 index 0000000000000000000000000000000000000000..cb926e847d4976f16382e916ef8f51452b5e835f GIT binary patch literal 432 zcmV;h0Z;x}OLkgF>MqB=whDZ_=TG0Jpg0C}!M^lb!4&Ys_(k&>Rg@&0JCtK!uTYen zg2GBC%xFOgCW{Mh4Be-gzZBllsMO)+>Qb+-1no6>3FNwfIe_h@ky4?hd4wTp^wwbh z--aa8>8sAbHh3x*T%aA$6aPhUw5^5p(!pIO4|2u!#sziRFQ%k$2RTS|e7oH)UIK}b zui2!1ihH@!L`>4<=m6eepwvEZ3$WlBFB~?*Z1e$9S)MptCSQr(79|+8cGqq@f?-%H z6)_1B`?xrs&ABSHPI^6H)vJ4JXcm;thC>z9fs%RmuA8^e8JFpm9J|Q?fxCx~ng+f) zB|0Zg5HV~Jw1Y9+t}7aRX=%P=GiGPcNiT@Kz#E?KFnD!w&Me2@Dce$91O>zrav!gB z^bBu%Ejj~5HaZC#!WS|=ynG1*LKS2QJVZ6eH>5>lrd)&21vb`PmE anG?a=prqLADvoeuCdbqTqYIck_3Vxfd&{r@ literal 0 HcmV?d00001