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