- 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: steps:
- name: clean environment - name: clean environment
image: appleboy/drone-ssh image: appleboy/drone-ssh
when:
branch:
- master
settings: settings:
host: host:
from_secret: host from_secret: host
@ -18,6 +21,9 @@ steps:
- rm -rf * - rm -rf *
- name: copy files - name: copy files
image: appleboy/drone-scp image: appleboy/drone-scp
when:
branch:
- master
settings: settings:
host: host:
from_secret: host from_secret: host