From b15307ae7d8bd54069635c5336ece18d07552862 Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Fri, 31 Dec 2021 15:06:22 +0100 Subject: [PATCH] Split steps --- .woodpecker.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index da0cc8b..739f728 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -11,6 +11,10 @@ pipeline: - "echo 'builder ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers" - su builder # Build the package - - makepkg -s --noconfirm --needed + - yes | makepkg -s --noconfirm --needed + + publish: + image: 'archlinux:latest' + commands: # Publish the package - 'curl -F "file=@$(ls *.pkg*)" -H "X-API-KEY: $API_KEY" https://pkgs.rustybever.be/api/publish'