Forgot to add secret wow
ci/woodpecker/push/woodpecker Pipeline was successful Details

main
Jef Roosens 2021-12-31 16:09:20 +01:00
parent 8f572cceaf
commit 98db60af1a
Signed by: Jef Roosens
GPG Key ID: 955C0660072F691F
1 changed files with 3 additions and 1 deletions

View File

@ -11,10 +11,12 @@ pipeline:
- "echo 'builder ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers"
- su builder
# Build the package
- makepkg -s --noconfirm --needed
- MAKEFLAGS="-j$(nproc)" 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'
secrets:
- api_key