only update docs on release

pull/120/head
Jesse Duffield 5 years ago
parent 7e490b9ee0
commit 87d657ccf2

@ -36,17 +36,6 @@ jobs:
paths:
- ~/.cache/go-build
update-docs:
docker:
- image: circleci/golang:1.12
working_directory: /go/src/github.com/jesseduffield/lazydocker
steps:
- checkout
- run:
name: Update docs
command: |
./.circleci/update_docs.sh
release:
docker:
- image: circleci/golang:1.12
@ -71,17 +60,16 @@ jobs:
name: Run gorelease
command: |
curl -sL https://git.io/goreleaser | bash
- run:
name: Update docs
command: |
./.circleci/update_docs.sh
workflows:
version: 2
build:
jobs:
- build
- update-docs:
filters:
branches:
only:
- master
release:
jobs:
- release:

Loading…
Cancel
Save