feat: cicd
continuous-integration/drone/push Build encountered an error Details

prod
Denny Lastpaste 2024-03-21 17:18:58 +07:00
parent 798911251b
commit 6bb5c825c2
1 changed files with 19 additions and 0 deletions

19
.drone.yml Normal file
View File

@ -0,0 +1,19 @@
kind: pipeline
type: ssh
name: default
server:
host:
from_secret: host
port:
from_secret: port
user:
from_secret: username
password:
from_secret: password
steps:
- name: build
commands:
- cd /home/martabak/web
- git fetch
- git checkout prod
- git pull