mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 11:51:02 +00:00
Update release-helper (#2801)
This commit is contained in:
parent
08f47afbd1
commit
5382b4ae10
2 changed files with 11 additions and 7 deletions
|
@ -15,6 +15,8 @@ when:
|
|||
branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||
- cron: update_docs
|
||||
event: cron
|
||||
- event: manual
|
||||
evaluate: 'TASK == "docs"'
|
||||
|
||||
variables:
|
||||
- &golang_image 'docker.io/golang:1.21.3'
|
||||
|
@ -27,7 +29,7 @@ steps:
|
|||
- make docs
|
||||
when:
|
||||
- path: *when_path
|
||||
- event: cron
|
||||
- event: [cron, manual]
|
||||
|
||||
build:
|
||||
image: *node_image
|
||||
|
@ -38,7 +40,7 @@ steps:
|
|||
- pnpm build
|
||||
when:
|
||||
- path: *when_path
|
||||
- event: cron
|
||||
- event: [cron, manual]
|
||||
|
||||
deploy-preview:
|
||||
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 push
|
||||
when:
|
||||
- event: [push, cron]
|
||||
- event: push
|
||||
path: *when_path
|
||||
- event: tag
|
||||
- event: [cron, manual, tag]
|
||||
|
|
|
@ -2,7 +2,7 @@ version: 1
|
|||
|
||||
steps:
|
||||
release-helper:
|
||||
image: woodpeckerci/plugin-ready-release-go:0.7.0
|
||||
image: woodpeckerci/plugin-ready-release-go:1.0.0
|
||||
pull: true
|
||||
settings:
|
||||
release_branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||
|
@ -12,5 +12,7 @@ steps:
|
|||
from_secret: GITHUB_TOKEN
|
||||
|
||||
when:
|
||||
event: push
|
||||
branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||
- event: push
|
||||
branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||
- event: manual
|
||||
evaluate: 'TASK == "release-helper"'
|
||||
|
|
Loading…
Reference in a new issue