2023-08-17 08:43:59 +00:00
|
|
|
steps:
|
|
|
|
- name: build_all
|
|
|
|
image: debian-pack:0.4
|
2024-12-14 05:37:26 +00:00
|
|
|
when:
|
|
|
|
- event: push
|
|
|
|
branch: main
|
|
|
|
platform: [ "linux/amd64" ]
|
2023-08-18 09:28:14 +00:00
|
|
|
environment:
|
2024-12-14 05:07:38 +00:00
|
|
|
WEBDAV_UPLOAD_TARGET: https://dufs.leafee98.com/apt/income
|
|
|
|
APT_BASE: https://dufs.leafee98.com/apt
|
2024-12-14 05:37:26 +00:00
|
|
|
WEBDAV_PASS:
|
|
|
|
from_secret: WEBDAV_PASS
|
|
|
|
WEBDAV_USER:
|
|
|
|
from_secret: WEBDAV_USER
|
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
|
|
|
|
"
|
2023-12-13 08:50:09 +00:00
|
|
|
--webdav-url "$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
|
|
|
|