From 7f53b8aa564abe90b56570e4938c86dd48530586 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Mon, 22 Jan 2024 01:52:20 +0100 Subject: [PATCH] CI: upgrade syntax --- .woodpecker.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 3144bfb..d48b55a 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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