Skip to content

Commit 5e5a08e

Browse files
committed
Обновляет деплой
1 parent 8494bdf commit 5e5a08e

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,5 @@ jobs:
2323
- run: npm ci
2424
- run: npm run build
2525
# Deploy
26-
- run: cd dist && rsync -e "ssh -i $HOME/.ssh/key -o StrictHostKeyChecking=no" --archive --compress --delete . wst@web-standards.ru:/var/www/weblind.ru/html/
26+
- run: rsync -e "ssh -i $HOME/.ssh/key -o StrictHostKeyChecking=no" --archive --verbose --compress --delete --delete-excluded --exclude '.DS_Store' --copy-links . deploy@157.230.28.93:/opt/sites/weblind.ru/public/
27+
working-directory: ./dist

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"test": "ls dist",
66
"pretest": "npm run build",
77
"build": "gulp build",
8-
"deploy": "cd dist && rsync --archive --compress --delete . wst@web-standards.ru:/var/www/weblind.ru/html/"
8+
"deploy": "rsync --archive --verbose --compress --delete --delete-excluded --exclude '.DS_Store' --copy-links ./dist/ deploy@157.230.28.93:/opt/sites/weblind.ru/public/"
99
},
1010
"engines": {
1111
"node": "20"

0 commit comments

Comments
 (0)