Feat: travis ci deploy

pull/247/head
HFO4 2020-03-11 18:25:31 +08:00
parent 8c49f40ed2
commit 074522cfda
1 changed files with 2 additions and 1 deletions

View File

@ -7,11 +7,12 @@ install:
- go get github.com/rakyll/statik - go get github.com/rakyll/statik
before_script: before_script:
- statik -src=models -f - statik -src=models -f
script:
- ./build.sh -r b
before_deploy: before_deploy:
- sudo apt install gcc-mingw-w64 - sudo apt install gcc-mingw-w64
- apt-get install gcc-arm-linux-gnueabi - apt-get install gcc-arm-linux-gnueabi
- chmod +x ./build.sh - chmod +x ./build.sh
- ./build.sh -r b
deploy: deploy:
provider: releases provider: releases
api_key: $GITHUB_TOKEN api_key: $GITHUB_TOKEN