Skip to content

Commit

Permalink
Update deployment workflow to install client dependencies and build c…
Browse files Browse the repository at this point in the history
…lient
  • Loading branch information
ix-benjaminm committed Oct 7, 2024
1 parent 823b6c4 commit 39ab257
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,17 @@ jobs:
with:
node-version: 22

- name: Install dependencies
- name: Install server dependencies
run: npm install

- name: Build project
run: npm run build
- name: Install client dependencies
run: cd client && npm install

- name: Build client
run: cd client && npm run build

- name: Start server
run: npm run start

- name: Upload to FTP server
uses: SamKirkland/[email protected]
Expand All @@ -31,4 +37,4 @@ jobs:
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
local-dir: dist
server-dir: /httpdocs
server-dir: /httpdocs

0 comments on commit 39ab257

Please sign in to comment.