diff --git a/.woodpecker.yaml b/.woodpecker.yaml
index 0e916de..fe57168 100644
--- a/.woodpecker.yaml
+++ b/.woodpecker.yaml
@@ -30,7 +30,9 @@ steps:
       - API_URL=https://pages.hadeedahmad.com/pages/me
       - curl -s -w "%{http_code}" -F "zipfile=@project.zip" -H "$AUTH_HEADER" "$API_URL" | grep -q 200
 
-    secrets: [ PAGES_API_KEY ]
+    environment:
+      PAGES_API_KEY:
+        from_secret: PAGES_API_KEY
 
 when:
   - event: manual