This commit is contained in:
parent
9fe36e39db
commit
008e33576d
@ -3,12 +3,6 @@ kind: pipeline
|
|||||||
type: ssh
|
type: ssh
|
||||||
name: Deploy
|
name: Deploy
|
||||||
|
|
||||||
trigger:
|
|
||||||
branch:
|
|
||||||
- main
|
|
||||||
event:
|
|
||||||
- push
|
|
||||||
|
|
||||||
server:
|
server:
|
||||||
host: 192.168.2.101
|
host: 192.168.2.101
|
||||||
user: droneci
|
user: droneci
|
||||||
@ -21,6 +15,7 @@ clone:
|
|||||||
steps:
|
steps:
|
||||||
- name: Setup
|
- name: Setup
|
||||||
commands:
|
commands:
|
||||||
|
- whoami
|
||||||
- pwd
|
- pwd
|
||||||
- cd /var/www/html/
|
- cd /var/www/html/
|
||||||
- rm -rf solomonlai.ng
|
- rm -rf solomonlai.ng
|
||||||
@ -28,6 +23,7 @@ steps:
|
|||||||
|
|
||||||
- name: Clone
|
- name: Clone
|
||||||
commands:
|
commands:
|
||||||
|
- whoami
|
||||||
- pwd
|
- pwd
|
||||||
- git clone https://git.inkletblot.com/inkletblot/solomonlai.ng.git
|
- git clone https://git.inkletblot.com/inkletblot/solomonlai.ng.git
|
||||||
- cd solomonlai.ng/
|
- cd solomonlai.ng/
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user