mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-06-10 09:29:34 +00:00
Update release-helper (#2801)
This commit is contained in:
parent
08f47afbd1
commit
5382b4ae10
|
@ -15,6 +15,8 @@ when:
|
||||||
branch: ${CI_REPO_DEFAULT_BRANCH}
|
branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||||
- cron: update_docs
|
- cron: update_docs
|
||||||
event: cron
|
event: cron
|
||||||
|
- event: manual
|
||||||
|
evaluate: 'TASK == "docs"'
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
- &golang_image 'docker.io/golang:1.21.3'
|
- &golang_image 'docker.io/golang:1.21.3'
|
||||||
|
@ -27,7 +29,7 @@ steps:
|
||||||
- make docs
|
- make docs
|
||||||
when:
|
when:
|
||||||
- path: *when_path
|
- path: *when_path
|
||||||
- event: cron
|
- event: [cron, manual]
|
||||||
|
|
||||||
build:
|
build:
|
||||||
image: *node_image
|
image: *node_image
|
||||||
|
@ -38,7 +40,7 @@ steps:
|
||||||
- pnpm build
|
- pnpm build
|
||||||
when:
|
when:
|
||||||
- path: *when_path
|
- path: *when_path
|
||||||
- event: cron
|
- event: [cron, manual]
|
||||||
|
|
||||||
deploy-preview:
|
deploy-preview:
|
||||||
image: docker.io/woodpeckerci/plugin-surge-preview:1.2.2
|
image: docker.io/woodpeckerci/plugin-surge-preview:1.2.2
|
||||||
|
@ -82,6 +84,6 @@ steps:
|
||||||
- git commit -m "Deploy website - based on ${CI_COMMIT_SHA}"
|
- git commit -m "Deploy website - based on ${CI_COMMIT_SHA}"
|
||||||
- git push
|
- git push
|
||||||
when:
|
when:
|
||||||
- event: [push, cron]
|
- event: push
|
||||||
path: *when_path
|
path: *when_path
|
||||||
- event: tag
|
- event: [cron, manual, tag]
|
||||||
|
|
|
@ -2,7 +2,7 @@ version: 1
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
release-helper:
|
release-helper:
|
||||||
image: woodpeckerci/plugin-ready-release-go:0.7.0
|
image: woodpeckerci/plugin-ready-release-go:1.0.0
|
||||||
pull: true
|
pull: true
|
||||||
settings:
|
settings:
|
||||||
release_branch: ${CI_REPO_DEFAULT_BRANCH}
|
release_branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||||
|
@ -12,5 +12,7 @@ steps:
|
||||||
from_secret: GITHUB_TOKEN
|
from_secret: GITHUB_TOKEN
|
||||||
|
|
||||||
when:
|
when:
|
||||||
event: push
|
- event: push
|
||||||
branch: ${CI_REPO_DEFAULT_BRANCH}
|
branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||||
|
- event: manual
|
||||||
|
evaluate: 'TASK == "release-helper"'
|
||||||
|
|
Loading…
Reference in a new issue