mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-21 23:01:03 +00:00
only update docs on release
This commit is contained in:
parent
7e490b9ee0
commit
87d657ccf2
1 changed files with 4 additions and 16 deletions
|
|
@ -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…
Add table
Reference in a new issue