mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-04-05 20:17:53 +08:00
修复Travis配置文件问题
This commit is contained in:
parent
f61de6bfc0
commit
a99b434cec
@ -23,7 +23,7 @@ before_deploy:
|
||||
- dep ensure -v && CGO_ENABLED=1 GOARCH=amd64 GOOS=linux go build -o mindoc_linux_amd64 -ldflags="-w -X github.com/lifei6671/mindoc/conf.VERSION=$TRAVIS_TAG -X 'github.com/lifei6671/mindoc/conf.BUILD_TIME=`date`' -X 'conf.GO_VERSION=`github.com/lifei6671/mindoc/go version`'"
|
||||
- rm -rf commands controllers models modules data routers tasks vendor docs search utils graphics .git Godeps uploads/* .gitignore .travis.yml Dockerfile Gopkg.toml LICENSE main.go README.md conf/enumerate.go conf/mail.go install.lock *.md
|
||||
- cp conf/app.conf.example conf/app.conf
|
||||
- zip -r mindoc_linux_amd64.zip conf logs static uploads views lib mindoc_linux_amd64
|
||||
- zip -r mindoc_linux_amd64.zip conf static uploads views lib mindoc_linux_amd64
|
||||
|
||||
deploy:
|
||||
provider: releases
|
||||
|
Loading…
Reference in New Issue
Block a user