-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update deployment workflow to install client dependencies and build c…
…lient
- Loading branch information
1 parent
823b6c4
commit 39ab257
Showing
1 changed file
with
10 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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] | ||
|
@@ -31,4 +37,4 @@ jobs: | |
username: ${{ secrets.FTP_USERNAME }} | ||
password: ${{ secrets.FTP_PASSWORD }} | ||
local-dir: dist | ||
server-dir: /httpdocs | ||
server-dir: /httpdocs |