update woodpecker.yml to only run on master branch

This commit is contained in:
Keannu Bernasol 2024-01-06 15:51:48 +08:00
parent 6b94f31e04
commit 8a1f820bf7

View file

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