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

This commit is contained in:
deploy 2026-05-15 10:53:05 +00:00
parent 7be273b3a2
commit 2c4fd80773

View File

@ -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