Skip to content

Commit 47d3afa

Browse files
committed
fix: google drive keys added to CI process
1 parent dd340cb commit 47d3afa

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/release-on-master.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,6 @@ jobs:
3333
npx gh-pages -d build -u "github-actions-bot <[email protected]>"
3434
env:
3535
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+
REACT_APP_GOOGLE_DRIVE_APP_ID: ${{ secrets.REACT_APP_GOOGLE_DRIVE_APP_ID }}
37+
REACT_APP_GOOGLE_DRIVE_CLIENT_ID: ${{ secrets.REACT_APP_GOOGLE_DRIVE_CLIENT_ID }}
38+
REACT_APP_GOOGLE_DRIVE_DEVELOPER_KEY: ${{ secrets.REACT_APP_GOOGLE_DRIVE_DEVELOPER_KEY }}

src/components/ImportFromGoogleDriveDialog/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const credentials = {
2222
"294393711342-h5aqqt3pvn8othepvsmi16iakdhi7m6j.apps.googleusercontent.com",
2323
app_id: process.env.REACT_APP_GOOGLE_DRIVE_APP_ID || "294393711342",
2424
developer_key:
25-
process.env.REACT_APP_DEVELOPER_KEY ||
25+
process.env.REACT_APP_GOOGLE_DRIVE_DEVELOPER_KEY ||
2626
"AIzaSyCoNoDnfzDBSXpt84Q75LU9UMTzvyLkRhg",
2727
},
2828
}

0 commit comments

Comments
 (0)