Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgriv committed Jun 30, 2024
1 parent 3df7734 commit 456130e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/nuxtjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ concurrency:
jobs:
build-deploy:
runs-on: ubuntu-latest
environment: production
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
8 changes: 2 additions & 6 deletions nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,7 @@ export default {
base: '/WTZ-Map/', // Update this to your repository name
},
publicRuntimeConfig: {
openWeatherApiKey: process.env.OPENWEATHER_API_KEY ? true : false,
timeZoneDbApiKey: process.env.TIMEZONEDB_API_KEY ? true : false
openWeatherApiKey: process.env.OPENWEATHER_API_KEY,
timeZoneDbApiKey: process.env.TIMEZONEDB_API_KEY
}
};

// Log if environment variables are set for debugging
console.log('OPENWEATHER_API_KEY is set:', !!process.env.OPENWEATHER_API_KEY);
console.log('TIMEZONEDB_API_KEY is set:', !!process.env.TIMEZONEDB_API_KEY);

0 comments on commit 456130e

Please sign in to comment.