2023-08-17 08:43:59 +00:00
|
|
|
steps:
|
|
|
|
- name: build_all
|
|
|
|
image: debian-pack:0.4
|
|
|
|
secrets:
|
|
|
|
- WEBDAV_PASS
|
2023-08-18 09:28:14 +00:00
|
|
|
- WEBDAV_USER
|
|
|
|
environment:
|
|
|
|
- WEBDAV_UPLOAD_TARGET=https://dufs.leafee98.com/apt/income
|
|
|
|
- APT_BASE=https://dufs.leafee98.com/apt
|
2023-08-17 08:43:59 +00:00
|
|
|
commands:
|
2023-08-18 03:55:50 +00:00
|
|
|
- rm -f /tmp/apt-file-exists-cache.json
|
2023-08-18 09:28:14 +00:00
|
|
|
- ./script/build.sh
|
2023-08-17 08:43:59 +00:00
|
|
|
--makedeb-path makedeb/makedeb
|
2023-08-18 09:28:14 +00:00
|
|
|
--package-exists-hook "
|
|
|
|
$(realpath ./script/package_exists.py)
|
|
|
|
--filename {}
|
|
|
|
--cache-file /tmp/apt-file-exists-cache.json
|
|
|
|
--package-arch amd64
|
|
|
|
--apt-base $APT_BASE
|
|
|
|
"
|
|
|
|
--upload-to-webdav "$WEBDAV_UPLOAD_TARGET"
|
2023-08-17 08:43:59 +00:00
|
|
|
--webdav-user "$WEBDAV_USER"
|
|
|
|
--webdav-pass "$WEBDAV_PASS"
|
2023-08-18 09:28:14 +00:00
|
|
|
--package-dir packages/bin
|
|
|
|
--package-dir packages/leafee98
|
2023-08-17 08:43:59 +00:00
|
|
|
|