solomonlai.ng/.drone.yml
Solomon Laing e44e79e88b
All checks were successful
continuous-integration/drone/push Build is passing
more tests
2025-12-29 19:33:55 +10:30

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