tilde.club/.drone.yml

22 lines
301 B
YAML
Raw Normal View History

2024-03-09 02:25:48 -05:00
---
kind: pipeline
type: docker
name: default
steps:
- name: build
image: alpine
commands:
- sh compile.sh
2024-03-09 15:40:07 -05:00
- apk add rsync openssh
2024-03-09 02:25:48 -05:00
- sh deploy.sh
environment:
2024-03-09 15:40:07 -05:00
RSYNC_DESTINATION:
from_secret: RSYNC_DESTINATION
2024-03-09 02:25:48 -05:00
SSH_KEY:
from_secret: SSH_KEY
2024-03-09 03:13:34 -05:00
trigger:
branch:
- main