Update release-helper (#2801)

This commit is contained in:
Anbraten 2023-11-11 09:03:52 +01:00 committed by GitHub
parent 08f47afbd1
commit 5382b4ae10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 7 deletions

View file

@ -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]

View file

@ -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"'