Skip to content

Commit 8ce3c5d

Browse files
author
Daisuke Morita
authored
Merge pull request #674 from cloudwan/remove-deploy-from-circle
Remove Deploy From CircleCI
2 parents 61755d9 + e5763d0 commit 8ce3c5d

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

.circleci/config.yml

-22
Original file line numberDiff line numberDiff line change
@@ -20,32 +20,10 @@ jobs:
2020
- run: sudo install etcd-v3.1.7-linux-amd64/etcd /usr/bin
2121
- run: go get github.com/mattn/goveralls
2222
- run: make test
23-
deploy:
24-
docker:
25-
- image: circleci/golang:1.9
26-
working_directory: /go/src/github.com/cloudwan/gohan
27-
steps:
28-
- checkout
29-
- run:
30-
name: Upload package to Github
31-
command: |
32-
go get github.com/karalabe/xgo
33-
./tools/crosscompile.sh
34-
sudo apt-get install -y zip
35-
curl -L https://github.com/tcnksm/ghr/releases/download/v0.5.0/ghr_v0.5.0_linux_amd64.zip -o ghr_v0.5.0_linux_amd64.zip
36-
unzip ghr_v0.5.0_linux_amd64.zip
37-
chmod 0755 ghr
38-
./ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME -replace pre-release dist/
3923

4024
workflows:
4125
version: 2
4226
build_test_deploy:
4327
jobs:
4428
- build
4529
- test
46-
- deploy:
47-
requires:
48-
- test
49-
filters:
50-
branches:
51-
only: master

0 commit comments

Comments
 (0)