Update .gitea/workflows/cd-deploy.yaml
Some checks failed
Continuous Deployment / Update Deployment (push) Failing after 1m27s
Some checks failed
Continuous Deployment / Update Deployment (push) Failing after 1m27s
forcefully override npm path for execution
This commit is contained in:
@@ -50,24 +50,24 @@ jobs:
|
||||
- name: Update Shared Dependencies
|
||||
run: |
|
||||
cd /var/www/html/milsim-site-v4/shared
|
||||
sudo -u nginx npm install
|
||||
sudo -u nginx /opt/acttoolcache/node/18.20.8/x64/bin/npm install
|
||||
|
||||
- name: Update UI Dependencies
|
||||
run: |
|
||||
cd /var/www/html/milsim-site-v4/ui
|
||||
sudo -u nginx npm install
|
||||
sudo -u nginx /opt/acttoolcache/node/18.20.8/x64/bin/npm install
|
||||
|
||||
- name: Update API Dependencies
|
||||
run: |
|
||||
cd /var/www/html/milsim-site-v4/api
|
||||
sudo -u nginx npm install
|
||||
sudo -u nginx /opt/acttoolcache/node/18.20.8/x64/bin/npm install
|
||||
|
||||
- name: Build UI
|
||||
run: |
|
||||
cd /var/www/html/milsim-site-v4/ui
|
||||
sudo -u nginx npm run build
|
||||
sudo -u nginx /opt/acttoolcache/node/18.20.8/x64/bin/npm run build
|
||||
|
||||
- name: Build API
|
||||
run: |
|
||||
cd /var/www/html/milsim-site-v4/api
|
||||
sudo -u nginx npm run build
|
||||
sudo -u nginx /opt/acttoolcache/node/18.20.8/x64/bin/npm run build
|
||||
|
||||
Reference in New Issue
Block a user