CI: upgrade syntax
This commit is contained in:
parent
1c12d4fce5
commit
7f53b8aa56
1 changed files with 5 additions and 4 deletions
|
@ -3,7 +3,7 @@ clone:
|
|||
image: woodpeckerci/plugin-git
|
||||
tags: true
|
||||
|
||||
pipeline:
|
||||
steps:
|
||||
tests:
|
||||
image: brenard/python-pre-commit:latest
|
||||
commands:
|
||||
|
@ -15,24 +15,25 @@ pipeline:
|
|||
image: brenard/debian-python-deb
|
||||
when:
|
||||
event: tag
|
||||
depends_on: [tests]
|
||||
commands:
|
||||
- echo "$GPG_KEY"|base64 -d|gpg --import
|
||||
- ./build.sh --quiet
|
||||
secrets: [maintainer_name, maintainer_email, gpg_key, debian_codename]
|
||||
|
||||
publish-dryrun:
|
||||
group: publish
|
||||
image: alpine
|
||||
when:
|
||||
event: tag
|
||||
depends_on: [build]
|
||||
commands:
|
||||
- ls dist/* dist/check-forgejo-upgrade-*/check_forgejo_upgrade
|
||||
|
||||
publish-gitea:
|
||||
group: publish
|
||||
image: plugins/gitea-release
|
||||
when:
|
||||
event: tag
|
||||
depends_on: [build]
|
||||
settings:
|
||||
api_key:
|
||||
from_secret: gitea_token
|
||||
|
@ -46,10 +47,10 @@ pipeline:
|
|||
- sha512
|
||||
|
||||
publish-apt:
|
||||
group: publish
|
||||
image: brenard/aptly-publish
|
||||
when:
|
||||
event: tag
|
||||
depends_on: [build]
|
||||
settings:
|
||||
api_url:
|
||||
from_secret: apt_api_url
|
||||
|
|
Loading…
Reference in a new issue