diff --git a/.gitea/workflows/ci-test.yaml b/.gitea/workflows/ci-test.yaml index 8da5d91..0f808a0 100644 --- a/.gitea/workflows/ci-test.yaml +++ b/.gitea/workflows/ci-test.yaml @@ -129,12 +129,10 @@ jobs: #BW_SESSION=$(bw login) bw login --apikey BW_SESSION=$(bw unlock "$BW_PASSWORD" --raw) - echo "$BW_SESSION" - name: vaultwarden getsecrets working-directory: infra/iac run: | - #BW_SESSION2=$(bw unlock --raw --session "$BW_SESSION") # Ler o arquivo de referĂȘncia for secret in $(jq -c '.secrets[]' secrets/vault-secrets-map.json); do name=$(echo "$secret" | jq -r '.name') @@ -151,6 +149,7 @@ jobs: elif [ "$type" == "note" ]; then echo "note get" bw get item "$name" --session "$BW_SESSION" | jq -r '.notes' > "$output" + cat $output fi done