- only copy files when branch is master
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
cb37bef823
commit
4d3b30930d
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user