23 lines
356 B
YAML
23 lines
356 B
YAML
|
kind: pipeline
|
||
|
type: docker
|
||
|
name: deploy
|
||
|
|
||
|
steps:
|
||
|
- name: ssh
|
||
|
image: appleboy/drone-ssh
|
||
|
settings:
|
||
|
host: levi.simponic.xyz
|
||
|
username: root
|
||
|
key:
|
||
|
from_secret: SSH_KEY
|
||
|
port: 22
|
||
|
command_timeout: 2m
|
||
|
script:
|
||
|
- cd /var/www/html/simponic.xyz && git pull
|
||
|
|
||
|
trigger:
|
||
|
branch:
|
||
|
- main
|
||
|
event:
|
||
|
- push
|