summaryrefslogtreecommitdiff
path: root/.drone.yml
blob: 920e0d4d98fac000323d2c758fc8fc26d77cbbdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
kind: pipeline
type: docker
name: default

steps:
- name: docker
  image: plugins/docker
  settings:
    username:
      from_secret: gitea_packpub_username
    password:
      from_secret: gitea_packpub_password
    registry: git.simponic.xyz
    repo: git.simponic.xyz/simponic/mistymountains
- name: deploy
  image: fedora:39
  commands:
  - yum install --assumeyes openssh-clients rsync
  - sh deploy.sh
  environment:
    HOST:
      from_secret: HOST
    SSH_KEY:
      from_secret: SSH_KEY

trigger:
  branch:
  - master