- only copy files when branch is master
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Josue Gomez 2024-03-22 11:10:10 -06:00
parent cb37bef823
commit 4d3b30930d
No known key found for this signature in database

View File

@ -5,6 +5,9 @@ name: default
steps:
- name: clean environment
image: appleboy/drone-ssh
when:
branch:
- master
settings:
host:
from_secret: host
@ -18,6 +21,9 @@ steps:
- rm -rf *
- name: copy files
image: appleboy/drone-scp
when:
branch:
- master
settings:
host:
from_secret: host