Update .woodpecker.yml

This commit is contained in:
Keannu Bernasol 2024-10-14 19:04:26 +08:00
parent 5607f8832a
commit 851c6c03dc

View file

@ -14,5 +14,5 @@ steps:
- npm install - npm install
- npm run build - npm run build
- ssh "$REMOTE_HOST" 'rm -rf /mnt/nvme/www/equipment_tracker_frontend/*' - ssh "$REMOTE_HOST" 'rm -rf /mnt/nvme/www/equipment_tracker_frontend/*'
- scp -r dist/* root@10.0.10.4:/mnt/nvme/www/equipment_tracker_frontend - scp -r dist/* root@"$REMOTE_HOST":/mnt/nvme/www/equipment_tracker_frontend
secrets: [SSH_KEY, REMOTE_HOST] secrets: [SSH_KEY, REMOTE_HOST]