GH secrets aren't coming through to my worker
Well, some are. But I added some new ones 4 hours ago and when I go to CF > Workers > my worker > settings > variables, the ones I added are not listed.
I'm definitely looking at the right branch/corresponding worker environment.
In GH > settings > secrets > actions, I can see all my secrets, including those I added today. If I go inspect
.github/workflows/wrangler-action.yml
I have added my secrets to those that were already there, i.e.
As I say, previous secrets have come through. Do I need to do something e.g. forcibly restart my worker somehow?2 Replies
Did you add them to the secrets arguments?
ex:
full example here: https://github.com/cloudflare/wrangler-action
GitHub
GitHub - cloudflare/wrangler-action: 🧙♀️ easily deploy cloudflare ...
🧙♀️ easily deploy cloudflare workers applications using wrangler and github actions - cloudflare/wrangler-action
Nope! 🤦♂️ Thank you. Can't believe I missed that. I mean, I've done it before!