summaryrefslogtreecommitdiff
path: root/.drone.yml
blob: 6f1d12094d49c911ee563862a100dada3a36290e (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 --assumeyes git nodejs npm go
  - sh compile.sh
  - yum install --assumeyes rsync openssh
  - sh deploy.sh
  environment:
    RSYNC_DESTINATION:
      from_secret: RSYNC_DESTINATION
    SSH_KEY:
      from_secret: SSH_KEY

trigger:
  branch:
  - main