From be6d06a653732869f0f2d44ed7d3752956fca95b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Roth?= Date: Sun, 6 Oct 2024 22:18:48 +0200 Subject: [PATCH] ci: delete aptly tasks after publish --- .github/workflows/scripts/upload-artifacts.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/scripts/upload-artifacts.sh b/.github/workflows/scripts/upload-artifacts.sh index 181ff1e0..e41697df 100755 --- a/.github/workflows/scripts/upload-artifacts.sh +++ b/.github/workflows/scripts/upload-artifacts.sh @@ -82,6 +82,7 @@ update_publish() { _state=`echo $jsonret | jq .State` if [ "$_state" = "2" ]; then _success=1 + curl -fsS -X DELETE -u $aptly_user:$aptly_password ${aptly_api}/api/tasks/$_task_id break fi if [ "$_state" = "3" ]; then