Skip to content

Commit

Permalink
feat: adjust cd support credentials google
Browse files Browse the repository at this point in the history
  • Loading branch information
mhdramadhanarvin committed Sep 9, 2024
1 parent ce11d61 commit 4ad3edc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ APP_NAME=Laravel
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_TIMEZONE=UTC
APP_TIMEZONE=Asia/Jakarta
APP_URL=http://localhost

APP_LOCALE=en
APP_FALLBACK_LOCALE=en
APP_FAKER_LOCALE=en_US
APP_LOCALE=id
APP_FALLBACK_LOCALE=id
APP_FAKER_LOCALE=id_ID

APP_MAINTENANCE_DRIVER=file
# APP_MAINTENANCE_STORE=database
Expand Down Expand Up @@ -62,3 +62,8 @@ AWS_BUCKET=
AWS_USE_PATH_STYLE_ENDPOINT=false

VITE_APP_NAME="${APP_NAME}"

GOOGLE_CLIENT_ID=279393533682-vn3olg48d6dm24904pnlk0hoqsg56ads.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=
GOOGLE_REDIRECT_URI=http://localhost/auth/google/callback
GOOGLE_CREDENTIALS_PATH=/var/www/html/storage/app/credentials.json
3 changes: 3 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, redis
coverage: none

- name: Copy credentials Google Api
run: echo "${{ secrets.GOOGLE_API_CRENDENTIALS }}" > ./storage/app/credentials.json

- name: Run composer install
run: composer install -n --prefer-dist -o

Expand Down

0 comments on commit 4ad3edc

Please sign in to comment.