debian-packages/.woodpecker/build.yml
leafee98 cae4e11877
Some checks failed
ci/woodpecker/push/build Pipeline failed
Update woodpecker-ci to specific packages to build
2023-08-17 16:57:31 +08:00

30 lines
955 B
YAML

steps:
- name: build_all
image: debian-pack:0.4
secrets:
- WEBDAV_USER
- WEBDAV_PASS
- WEBDAV_HOST
- WEBDAV_REPOPATH
commands:
- rm /tmp/apt-file-exists-cache.json
- hook_str="$(realpath ./script/package_exists.py)
--filename {}
--cache-file /tmp/apt-file-exists-cache.json
--package-arch amd64
--apt-base https://dufs.leafee98.com/apt/"
- ./script/build_all.sh
--makedeb-path makedeb/makedeb
--package-exists-hook "$hook_str"
--upload-to-webdav "https://dufs.leafee98.com/apt/income"
--webdav-user "$WEBDAV_USER"
--webdav-pass "$WEBDAV_PASS"
--package packages/apt-repo-updater
--package packages/dufs-bin
--package packages/filebrowser-bin
--package packages/forgejo-bin
--package packages/neovim-bin
--package packages/plik-bin
--package packages/static-deployer-git