Commit 69513b55 authored by 神楽坂玲奈's avatar 神楽坂玲奈

auto update

parent 87a8c9c6
...@@ -43,7 +43,6 @@ script: ...@@ -43,7 +43,6 @@ script:
deploy: deploy:
provider: script provider: script
script: bash -c 'ssh-keyscan wudizhanche.mycard.moe >> ~/.ssh/known_hosts; if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then env; scp -v 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: curl -vv -X POST "https://wudizhanche.mycard.moe/publish?platform=${TRAVIS_OS_NAME}&version=${TRAVIS_TAG}"
skip_cleanup: true
on: on:
tags: true tags: true
\ No newline at end of file
...@@ -48,20 +48,8 @@ install: ...@@ -48,20 +48,8 @@ install:
build_script: build_script:
- npm run dist - npm run dist
artifacts:
- path: dist/MyCard Setup $(APPVEYOR_REPO_TAG_NAME).exe
- path: dist/latest.yml
deploy: deploy:
- provider: FTP - provider: script
protocol: sftp script: curl -vv -X POST "https://wudizhanche.mycard.moe/publish?platform=win32&version=$(APPVEYOR_REPO_TAG_NAME)"
host:
secure: kOmWSMPWqwRatoWbsDnyEePCfTVRsmKqvCTREDvihT8=
username:
secure: K5zchLMnJ3JaEqx3/bSl5A==
password:
secure: Eu+oVcSuxpc6BVmjxSgM2yBCRnwRsoUye8QCkaIGlX4=
folder:
secure: hOfOYpwk3SlvYd2YXf/NiA==
on: on:
appveyor_repo_tag: true appveyor_repo_tag: true
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