From e9132b2c1bbcc665f3659595ef4ed272701bbdcb Mon Sep 17 00:00:00 2001 From: Aya Morisawa Date: Mon, 27 Feb 2017 23:32:14 +0900 Subject: [PATCH] Push built code automatically --- .gitignore-release | 6 ++++++ .travis.yml | 13 +++++++++++++ travis_rsa.enc | Bin 0 -> 1680 bytes 3 files changed, 19 insertions(+) create mode 100644 .gitignore-release create mode 100644 travis_rsa.enc diff --git a/.gitignore-release b/.gitignore-release new file mode 100644 index 000000000..6da42ed44 --- /dev/null +++ b/.gitignore-release @@ -0,0 +1,6 @@ +/* + +!/built +!/tools +!/elasticsearch +!/package.json diff --git a/.travis.yml b/.travis.yml index a68e72252..2f1b1b45a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,19 @@ before_script: - cp ./.ci-files/test.yml ./.config - npm run build +after_success: + - openssl aes-256-cbc -K $encrypted_ceda82069128_key -iv $encrypted_ceda82069128_iv -in travis_rsa.enc -out travis_rsa -d + - cp .travis_rsa ~/.ssh/id_rsa + - chmod 600 ~/.ssh/id_rsa + - echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config + - git checkout -b release + - cp -f .gitignore-release .gitignore + - git add --all + - git config --global user.email "AyaMorisawa4869@gmail.com" + - git config --global user.name "Aya Morisawa" + - git commit -m "Release build for $TRAVIS_COMMIT" + - if [ $TRAVIS_BRANCH = "master" ]; then git push -f git@github.com:syuilo/misskey release; fi + env: - CXX=g++-4.8 diff --git a/travis_rsa.enc b/travis_rsa.enc new file mode 100644 index 0000000000000000000000000000000000000000..ec45f8a6bb0c250543b36b66df083d52328b3d1b GIT binary patch literal 1680 zcmV;B25apz2LhaReBD>e}hT6oKOm z__aj5{s1w=P*{F0bT$plNuP89sPhAi#?Uqq?Yf7kr!!vdY~w6f#I2Z2^i<|S2oOUV z)HS{C2%X;b(hN$g-BXfTf1Md{0(L&!<**XjTy3NJcvF$0BpYATvccW&s`&*xaU}kQ zF-Ka}gy+m=U13FhwHkMDdB@jJfVFr|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