summaryrefslogtreecommitdiff
path: root/.drone.yml
blob: 1aeada6b9ba40016aa935b64e5865ed149dd7b4a (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: default

steps:
- name: build
  image: fedora:39
  commands:
  - yum install git nodejs npm go
  - sh compile.sh
  - yum install rsync openssh
  - sh deploy.sh
  environment:
    RSYNC_DESTINATION:
      from_secret: RSYNC_DESTINATION
    SSH_KEY:
      from_secret: SSH_KEY

trigger:
  branch:
  - main