Commit 9795ff3c authored by 神楽坂玲奈's avatar 神楽坂玲奈

CI

parent 1e479f33
...@@ -42,6 +42,6 @@ script: ...@@ -42,6 +42,6 @@ script:
deploy: deploy:
provider: script provider: script
script: bash -c 'if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ls dist/mac; scp dist/mac/MyCard-$TRAVIS_TAG.dmg dist/mac/MyCard-$TRAVIS_TAG-mac.zip root@wudizhanche.mycard.moe:/data/uploads; else scp dist/mycard-$TRAVIS_TAG-x86_64.AppImage root@wudizhanche.mycard.moe:/data/uploads; fi' script: bash -c 'ssh-keyscan wudizhanche.mycard.moe >> ~/.ssh/known_hosts; if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ls dist; dist/mac; scp dist/mac/MyCard-$TRAVIS_TAG.dmg dist/mac/MyCard-$TRAVIS_TAG-mac.zip root@wudizhanche.mycard.moe:/data/uploads; else scp dist/mycard-$TRAVIS_TAG-x86_64.AppImage root@wudizhanche.mycard.moe:/data/uploads; fi'
on: on:
tags: true tags: true
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment