You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
Cannot see a way of keeping the Account ID and Zone ID a secret within github. The Github Actions secrets don't work within the file. I'm sure it's possible but I'm missing it in the documentation somewhere
In case you're like me and finding this later, the code snippet is almost right; it's just missing a $ for the variables. Without this thread I probably wouldn't have figured out how to do this nor that those tokens are actually ok to publish anyway; huge thanks to all for the clarification.
_ while CF account ID is not sensitive information,
to make it easier for users to deploy this project;
you might want to consider using an env variable instead (cloudflare/wrangler-action#17 (comment))
- added a gh secret to specify the project name
- added support for specifying deployment env
- added instructions on how to deploy to the README