diff --git a/.woodpecker.yml b/.woodpecker.yml index 7cbe4ab..dab110c 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -15,8 +15,9 @@ steps: # Inject SSH key directly gcloud secrets versions access latest \ - --secret="STAGING_SSH_KEY" \ - --project="aptivaai-dev" > ~/.ssh/id_ed25519 + --secret="STAGING_KNOWN_HOSTS" \ + --project="aptivaai-dev" | base64 -d > ~/.ssh/known_hosts + chmod 600 ~/.ssh/id_ed25519 # Sanity check: perform handshake