Split steps
ci/woodpecker/push/woodpecker Pipeline failed Details

main
Jef Roosens 2021-12-31 15:06:22 +01:00
parent 934e20a3b6
commit b15307ae7d
Signed by: Jef Roosens
GPG Key ID: 955C0660072F691F
1 changed files with 5 additions and 1 deletions

View File

@ -11,6 +11,10 @@ pipeline:
- "echo 'builder ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers" - "echo 'builder ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers"
- su builder - su builder
# Build the package # Build the package
- makepkg -s --noconfirm --needed - yes | makepkg -s --noconfirm --needed
publish:
image: 'archlinux:latest'
commands:
# Publish the package # Publish the package
- 'curl -F "file=@$(ls *.pkg*)" -H "X-API-KEY: $API_KEY" https://pkgs.rustybever.be/api/publish' - 'curl -F "file=@$(ls *.pkg*)" -H "X-API-KEY: $API_KEY" https://pkgs.rustybever.be/api/publish'