mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-24 19:56:43 -06:00
Push built code automatically
This commit is contained in:
parent
cb7bf0e310
commit
e9132b2c1b
3 changed files with 19 additions and 0 deletions
6
.gitignore-release
Normal file
6
.gitignore-release
Normal file
|
@ -0,0 +1,6 @@
|
|||
/*
|
||||
|
||||
!/built
|
||||
!/tools
|
||||
!/elasticsearch
|
||||
!/package.json
|
13
.travis.yml
13
.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
|
||||
|
||||
|
|
BIN
travis_rsa.enc
Normal file
BIN
travis_rsa.enc
Normal file
Binary file not shown.
Loading…
Reference in a new issue