Fakultas Ilmu Komputer UI

Verified Commit 5565f23b authored by Giovan Isa Musthofa's avatar Giovan Isa Musthofa
Browse files

[CHORES] Add GATSBY_GOOGLE_CLIENT_ID var on frontend build job

parent 04c887a3
Pipeline #38575 passed with stages
in 3 minutes and 49 seconds
......@@ -181,7 +181,7 @@ Gatsby Deploy Staging:
- cd frontend
- npm install
- npm install netlify-cli gatsby-cli -g
- GATSBY_ACTIVE_ENV=staging gatsby build
- GATSBY_ACTIVE_ENV=staging GATSBY_GOOGLE_CLIENT_ID=$GATSBY_GOOGLE_CLIENT_ID_STAGING gatsby build
script:
- netlify deploy --site=$NETLIFY_GATSBY_ID_STAGING --dir=public/ --auth=$NETLIFY_GATSBY_AUTH --prod
only:
......@@ -198,7 +198,7 @@ Gatsby Deploy Production:
- cd frontend
- npm install
- npm install netlify-cli gatsby-cli -g
- GATSBY_ACTIVE_ENV=production gatsby build
- GATSBY_ACTIVE_ENV=production GATSBY_GOOGLE_CLIENT_ID=$GATSBY_GOOGLE_CLIENT_ID_PRODUCTION gatsby build
script:
- netlify deploy --site=$NETLIFY_GATSBY_ID --dir=public/ --auth=$NETLIFY_GATSBY_AUTH --prod
only:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment