24 lines
708 B
YAML
24 lines
708 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
|
||
|
--package packages/dufs-bin
|
||
|
--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"
|
||
|
|