Paul Chin Jr.
Paul Chin Jr.3w ago

kv-oauth environment secrets with GitHub

I'm using the kv-oauth, https://github.com/denoland/deno_kv_oauth, module and I have it working locally. However, because Deno Deploy is using GitHub Actions, I can't set environment variables that start with "GITHUB_" and the module requires that exact namespace. Has anyone else encountered this? Or am I doing something completely wrong. This is my kv-oauth plugin that I cribbed from the docs. https://github.com/pchinjr/tillage/blob/main/plugins/kv_oauth.ts Thanks so much!
GitHub
tillage/plugins/kv_oauth.ts at main · pchinjr/tillage
sow despair and reap ambition. Contribute to pchinjr/tillage development by creating an account on GitHub.
1 Reply
Paul Chin Jr.
Paul Chin Jr.OP3w ago
Update: The Deno Deploy Dashboard has settings now to set Environment Variables directly, so I don't have to set them in GitHub Actions. Also, I learned that when you change the Deno Deploy build steps, it writes a new line to the GitHub Actions YAML.