From 456130e3af68a223f9bc8b694ccc59099b7c4f72 Mon Sep 17 00:00:00 2001 From: Scott Griv Date: Sat, 29 Jun 2024 21:58:08 -0400 Subject: [PATCH] Update workflow --- .github/workflows/nuxtjs.yml | 1 + nuxt.config.js | 8 ++------ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/nuxtjs.yml b/.github/workflows/nuxtjs.yml index 1b2b41c..b141653 100644 --- a/.github/workflows/nuxtjs.yml +++ b/.github/workflows/nuxtjs.yml @@ -17,6 +17,7 @@ concurrency: jobs: build-deploy: runs-on: ubuntu-latest + environment: production steps: - name: Checkout uses: actions/checkout@v4 diff --git a/nuxt.config.js b/nuxt.config.js index ebe1869..3773a29 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -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); \ No newline at end of file