Skip to content

Commit

Permalink
Merge pull request #674 from cloudwan/remove-deploy-from-circle
Browse files Browse the repository at this point in the history
Remove Deploy From CircleCI
  • Loading branch information
Daisuke Morita authored Jul 17, 2018
2 parents 61755d9 + e5763d0 commit 8ce3c5d
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,32 +20,10 @@ jobs:
- run: sudo install etcd-v3.1.7-linux-amd64/etcd /usr/bin
- run: go get github.com/mattn/goveralls
- run: make test
deploy:
docker:
- image: circleci/golang:1.9
working_directory: /go/src/github.com/cloudwan/gohan
steps:
- checkout
- run:
name: Upload package to Github
command: |
go get github.com/karalabe/xgo
./tools/crosscompile.sh
sudo apt-get install -y zip
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
unzip ghr_v0.5.0_linux_amd64.zip
chmod 0755 ghr
./ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME -replace pre-release dist/

workflows:
version: 2
build_test_deploy:
jobs:
- build
- test
- deploy:
requires:
- test
filters:
branches:
only: master

0 comments on commit 8ce3c5d

Please sign in to comment.