add .drone.yml file to deployment
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Marvin Vallecillo 2024-01-24 10:48:05 -06:00
parent 3cbff43ed8
commit c784743ac9

30
.drone.yml Normal file
View 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: ./