debian-packages/.woodpecker/build.yml
leafee98 f6e18a796d
All checks were successful
ci/woodpecker/push/build Pipeline was successful
update build script, add --no-upload to build.sh
2023-12-13 16:50:09 +08:00

27 lines
799 B
YAML

steps:
- name: build_all
image: debian-pack:0.4
secrets:
- WEBDAV_PASS
- WEBDAV_USER
environment:
- WEBDAV_UPLOAD_TARGET=https://dufs.leafee98.com/apt/income
- APT_BASE=https://dufs.leafee98.com/apt
commands:
- rm -f /tmp/apt-file-exists-cache.json
- ./script/build.sh
--makedeb-path makedeb/makedeb
--package-exists-hook "
$(realpath ./script/package_exists.py)
--filename {}
--cache-file /tmp/apt-file-exists-cache.json
--package-arch amd64
--apt-base $APT_BASE
"
--webdav-url "$WEBDAV_UPLOAD_TARGET"
--webdav-user "$WEBDAV_USER"
--webdav-pass "$WEBDAV_PASS"
--package-dir packages/bin
--package-dir packages/leafee98