fix: use rsync instead of cp to prevent dist/dist nesting
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 34s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 34s
This commit is contained in:
parent
7be273b3a2
commit
2c4fd80773
@ -21,7 +21,7 @@ jobs:
|
||||
|
||||
- name: Deploy
|
||||
run: |
|
||||
cp -r dist/ /home/hyoseung/english/back/dist/
|
||||
rsync -a --delete dist/ /home/hyoseung/english/back/dist/
|
||||
cd /home/hyoseung/english/back
|
||||
pm2 restart english-back || pm2 start dist/main.js --name english-back
|
||||
pm2 save
|
||||
|
||||
Loading…
Reference in New Issue
Block a user