From 34c3ed14d670d27e85fee826b0d981c488812fdf Mon Sep 17 00:00:00 2001 From: fenix-gitea-admin Date: Sun, 7 Sep 2025 21:03:20 +0000 Subject: [PATCH] [deploy-opentofu] --- .gitea/workflows/ci-test.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci-test.yaml b/.gitea/workflows/ci-test.yaml index 1370f28..0f5759e 100644 --- a/.gitea/workflows/ci-test.yaml +++ b/.gitea/workflows/ci-test.yaml @@ -136,12 +136,14 @@ jobs: name=$(echo "$secret" | jq -r '.name') type=$(echo "$secret" | jq -r '.type') output=$(echo "$secret" | jq -r '.output') - + echo "$name $type $output" item_id=$(bw get item "$name" | jq -r '.id') - + echo "$item_id" if [ "$type" == "attachment" ]; then + echo "attachment get" bw get attachment "$output" --itemid "$item_id" --output "$output" elif [ "$type" == "note" ]; then + echo "note get" bw get item "$name" | jq -r '.notes' > "$output" fi done