mirror of
https://github.com/ShayManor/github-readme-stats.git
synced 2026-12-02 11:53:48 +05:30
feat(deploy): wire OAuth secrets; rename env vars off GITHUB_ prefix
GitHub Actions rejects secret names starting with GITHUB_. Rename the OAuth env vars to GH_OAUTH_* in config.py, compose.yml, and the deploy workflow so the values can flow through Actions secrets into the generator container. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -33,6 +33,10 @@ services:
|
||||
environment:
|
||||
FETCHER_URL: http://fetcher:5001
|
||||
FETCHER_INTERNAL_TOKEN: ${FETCHER_INTERNAL_TOKEN:?missing FETCHER_INTERNAL_TOKEN}
|
||||
GH_OAUTH_CLIENT_ID: ${GH_OAUTH_CLIENT_ID:?missing GH_OAUTH_CLIENT_ID}
|
||||
GH_OAUTH_CLIENT_SECRET: ${GH_OAUTH_CLIENT_SECRET:?missing GH_OAUTH_CLIENT_SECRET}
|
||||
GENERATOR_SECRET_KEY: ${GENERATOR_SECRET_KEY:?missing GENERATOR_SECRET_KEY}
|
||||
ALLOWED_ORIGINS: ${ALLOWED_ORIGINS:-https://gh-stats.com}
|
||||
volumes:
|
||||
- ${HOME}/ghstats/data/generator:/app/data
|
||||
ports:
|
||||
|
||||
Reference in New Issue
Block a user