Forgot to add secret wow
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
parent
8f572cceaf
commit
98db60af1a
|
@ -11,10 +11,12 @@ 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
|
- MAKEFLAGS="-j$(nproc)" makepkg -s --noconfirm --needed
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
image: 'archlinux:latest'
|
image: 'archlinux:latest'
|
||||||
commands:
|
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'
|
||||||
|
secrets:
|
||||||
|
- api_key
|
||||||
|
|
Loading…
Reference in New Issue