add .drone.yml file to deployment
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
This commit is contained in:
parent
3cbff43ed8
commit
c784743ac9
30
.drone.yml
Normal file
30
.drone.yml
Normal file
@ -0,0 +1,30 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: clean environment
|
||||
image: appleboy/drone-ssh
|
||||
settings:
|
||||
host:
|
||||
from_secret: host
|
||||
user: apphive
|
||||
key:
|
||||
from_secret: git_usr_rsa_key
|
||||
port: 22
|
||||
script:
|
||||
- cd /app/locale || exit
|
||||
- echo > dummy.txt || exit
|
||||
- rm -rf *
|
||||
- name: copy files
|
||||
image: appleboy/drone-scp
|
||||
settings:
|
||||
host:
|
||||
from_secret: host
|
||||
user: apphive
|
||||
key:
|
||||
from_secret: git_usr_rsa_key
|
||||
port: 22
|
||||
command_timeout: 2m
|
||||
target: /app/locale
|
||||
source: ./
|
||||
Loading…
Reference in New Issue
Block a user