Skip to content

Commit

Permalink
Add logging and env in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Bron N Thulke committed Jun 30, 2024
1 parent 233b3df commit 3015b90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:
#api_location: "api" # Api source code path - optional
app_artifact_location: "dist" # Built app content directory - optional
###### End of Repository/Build Configurations ######
env:
GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}

close_pull_request_job:
if: github.event_name == 'pull_request' && github.event.action == 'closed'
Expand Down
1 change: 1 addition & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const HtmlWebpackPlugin = require("html-webpack-plugin");
const dotenv = require('dotenv').config();

const googleAPIKey = process.env.GOOGLE_API_KEY;
console.log("API Key in webpack config: " + googleAPIKey);

module.exports = {
entry: __dirname + '/src/index.js',
Expand Down

0 comments on commit 3015b90

Please sign in to comment.