Skip to content

Commit 4c98461

Browse files
authored
Merge pull request #27 from laincloud/fix
fix deploy in travis-ci
2 parents c0f8638 + 55f4604 commit 4c98461

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,7 @@ deployd*
3030
bin/
3131
vendor/
3232
*DS_Store
33+
coverage.txt
34+
default.etcd/
35+
etcd-v2.3.7-linux-amd64.tar.gz
36+
etcd-v2.3.7-linux-amd64/

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ after_success:
3333
- bash <(curl -s https://codecov.io/bash)
3434
- xz -9k bin/deployd
3535
- if [ "$TRAVIS_TAG" != "" ]; then
36-
ossutil cp bin/deployd.xz oss://lain/binary/deployd/releases/download/${TRAVIS_TAG}/deployd.xz -e ${ENDPOINT} -i ${ACCESS_KEY_ID} -k ${ACCESS_KEY_SECRET};
36+
ossutil cp bin/deployd.xz oss://lain/binary/deployd/releases/download/${TRAVIS_TAG}/deployd.xz -f -e ${ALIYUN_OSS_ENDPOINT} -i ${ALIYUN_OSS_ACCESS_KEY_ID} -k ${ALIYUN_OSS_ACCESS_KEY_SECRET};
3737
fi
3838
deploy:
3939
provider: releases

0 commit comments

Comments
 (0)