Run woodpecker job only on master branch

This commit is contained in:
Keannu Bernasol 2024-01-06 15:54:28 +08:00
parent 1c4f2b5d12
commit 440cd264a1

View file

@ -12,4 +12,6 @@ steps:
- npm run build
- ssh root@10.0.10.4 'rm -rf /mnt/sda1/files/projects/equipment_tracker_frontend/*'
- scp -r dist/* root@10.0.10.4:/mnt/sda1/files/projects/equipment_tracker_frontend
when:
- branch: master
secrets: [SSH_KEY]