summaryrefslogtreecommitdiff
path: root/.drone.yml
blob: cc716f647bf053e93b0cf55b9a9a03fe026a13b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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