mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-08-24 10:13:39 -05:00
only update docs on release
This commit is contained in:
+4
-16
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user