diff --git a/crates/cuddle-ci/src/lib.rs b/crates/cuddle-ci/src/lib.rs index d847095..71a866d 100644 --- a/crates/cuddle-ci/src/lib.rs +++ b/crates/cuddle-ci/src/lib.rs @@ -44,7 +44,7 @@ pub mod drone_templater { let drone_user = std::env::var("DRONE_USER").context("DRONE_USER is missing")?; let drone_token = std::env::var("DRONE_TOKEN").context("DRONE_TOKEN is missing")?; - let drone_token_secret = client.set_secret("DRONE_TOKEN", drone_token); + let drone_token_secret = self.client.set_secret("DRONE_TOKEN", drone_token); self.client .container()