Skip to content

Commit

Permalink
Separate frontend build steps
Browse files Browse the repository at this point in the history
  • Loading branch information
brentvollebregt committed Jan 21, 2024
1 parent 28417b3 commit a15768e
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/deploy-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,17 @@ jobs:
with:
node-version: "20.x"

- name: Install Dependencies and Build
run: |
cd client
npm install
npm run build
cd ..
- name: Install Dependencies
run: npm install
working-directory: ./client

- name: Build
run: npm run build
env:
REACT_APP_API_ROOT: https://spotify-lyrics-viewer.onrender.com
REACT_APP_GOOGLE_ANALYTICS_TRACKING_ID: G-GHCZ0LMQWH
CI: false
working-directory: ./client

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
Expand Down

0 comments on commit a15768e

Please sign in to comment.