Skip to content

Commit b1a7b97

Browse files
committed
env variable
1 parent f1ef084 commit b1a7b97

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/node.js.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414

1515
env:
1616
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
17+
VUE_APP_GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}
1718

1819
strategy:
1920
matrix:

src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default {
4343
data() {
4444
return {
4545
tabs: ['Projects', 'Books'],
46-
apiKey: 'AIzaSyBj6pwMyPi8NVKBybSPJ3WWwGfx3__Nr4I',
46+
apiKey: process.env.VUE_APP_GOOGLE_API_KEY,
4747
};
4848
},
4949
components: {

0 commit comments

Comments
 (0)