mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-24 08: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:
|
paths:
|
||||||
- ~/.cache/go-build
|
- ~/.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:
|
release:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/golang:1.12
|
- image: circleci/golang:1.12
|
||||||
|
|
@ -71,17 +60,16 @@ jobs:
|
||||||
name: Run gorelease
|
name: Run gorelease
|
||||||
command: |
|
command: |
|
||||||
curl -sL https://git.io/goreleaser | bash
|
curl -sL https://git.io/goreleaser | bash
|
||||||
|
- run:
|
||||||
|
name: Update docs
|
||||||
|
command: |
|
||||||
|
./.circleci/update_docs.sh
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
build:
|
build:
|
||||||
jobs:
|
jobs:
|
||||||
- build
|
- build
|
||||||
- update-docs:
|
|
||||||
filters:
|
|
||||||
branches:
|
|
||||||
only:
|
|
||||||
- master
|
|
||||||
release:
|
release:
|
||||||
jobs:
|
jobs:
|
||||||
- release:
|
- release:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue