All checks were successful
continuous-integration/drone/push Build is passing
25 lines
420 B
YAML
25 lines
420 B
YAML
---
|
|
kind: pipeline
|
|
type: ssh
|
|
name: Deploy
|
|
|
|
server:
|
|
host: 192.168.2.200
|
|
user: droneci
|
|
ssh_key:
|
|
from_secret: ssh_key
|
|
# password:
|
|
# from_secret: ssh_passwd
|
|
|
|
clone:
|
|
disable: true
|
|
|
|
steps:
|
|
- name: Setup & Clone
|
|
commands:
|
|
- cd /var/www/html/
|
|
- rm -rf solomonlai.ng
|
|
- git clone https://git.inkletblot.com/inkletblot/solomonlai.ng.git
|
|
- cd solomonlai.ng/
|
|
- git checkout main
|