Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added weather api key to radio env file #490

Merged
merged 3 commits into from
Jan 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ansible/group_vars/production/vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ secret_radio:
contentful_space_id: "{{ vault_secret_radio.contentful_space_id }}"
contentful_space_access_token: "{{ vault_secret_radio.contentful_space_access_token }}"
github_api_token: "{{ vault_secret_radio.github_api_token }}"
weather_api_token: "{{ vault_secret_radio.weather_api_token }}"

secret_intro_bot:
alfas_app_id: "{{ vault_secret_intro_bot.alfas_app_id }}"
Expand Down
1 change: 1 addition & 0 deletions ansible/group_vars/staging/vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ secret_radio:
contentful_space_id: "{{ vault_secret_radio.contentful_space_id }}"
contentful_space_access_token: "{{ vault_secret_radio.contentful_space_access_token }}"
github_api_token: "{{ vault_secret_radio.github_api_token }}"
weather_api_token: "{{ vault_secret_radio.weather_api_token }}"

secret_intro_bot:
alfas_app_id: "{{ vault_secret_intro_bot.alfas_app_id }}"
Expand Down
2 changes: 2 additions & 0 deletions ansible/roles/radio/templates/.env.j2
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ VITE_GITHUB_API_TOKEN={{ secret_radio.github_api_token }}

# Snow height page
VITE_SNOW_HEIGHT_URL="https://www.sneeuwhoogte.nl/sneeuwhoogte-op-je-site/la plagne/big"

VITE_WEATHER_API_TOKEN={{ secret_radio.weather_api_token }}
Loading