Compare commits

..

2 Commits

Author SHA1 Message Date
85234ce522 Sync package-lock.json as well
All checks were successful
Build and Deploy to Web Server / deploy (push) Successful in 16m0s
2025-09-01 10:34:07 +09:30
f743618b5f Don't delete node_modules to hopefully speed up remote deployment 2025-09-01 10:19:50 +09:30

View File

@@ -47,11 +47,11 @@ jobs:
- name: Deploy via rsync
run: |
rsync -avz --delete --exclude '.git' --exclude '.gitea' --exclude 'README.md' --exclude 'LICENSE.md' --exclude 'LICENSE' --exclude '.github' --exclude '.gitignore' --exclude '.gitattributes' --exclude 'deploy.yml' ./dist/ ${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_HOST }}:${{ secrets.DEPLOY_DIRECTORY }}
rsync -avz --delete --exclude 'node_modules/' ./dist/ ${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_HOST }}:${{ secrets.DEPLOY_DIRECTORY }}
- name: Copy package.json via rsync
run: |
rsync -avz ./package.json ${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_HOST }}:${{ secrets.DEPLOY_DIRECTORY }}
rsync -avz ./package*.json ${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_HOST }}:${{ secrets.DEPLOY_DIRECTORY }}
- name: Install and restart service
run: |