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

auto update

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