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