Skip to content

Commit

Permalink
feat: adjust cd
Browse files Browse the repository at this point in the history
  • Loading branch information
mhdramadhanarvin committed Sep 9, 2024
1 parent 9889f2b commit 9fe595a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ 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=/home/kclearn1/stepcash/storage/app/credentials.json
GOOGLE_CREDENTIALS_PATH=./storage/app/credentials.json
9 changes: 7 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ jobs:
coverage: none

- name: Copy credentials Google Api
run: touch ./storage/app/credentials.json && echo "${{ secrets.GOOGLE_API_CRENDENTIALS }}" >> ./storage/app/credentials.json && cat ./storage/app/credentials.json && cp .env.example .env
run: |
touch ./storage/app/credentials.json && \
echo "${{ secrets.GOOGLE_API_CRENDENTIALS }}" >> ./storage/app/credentials.json && \
cp .env.example .env
- name: Run composer install
run: composer install -n --prefer-dist -o
Expand All @@ -37,7 +40,9 @@ jobs:
run: npm ci

- name: Build App
run: npm run build && rm -rf ./.env
run: |
npm run build && \
rm -rf ./.env
- uses: montudor/action-zip@v1
with:
Expand Down

0 comments on commit 9fe595a

Please sign in to comment.