22 lines
301 B
YAML
22 lines
301 B
YAML
|
---
|
||
|
kind: pipeline
|
||
|
type: docker
|
||
|
name: default
|
||
|
|
||
|
steps:
|
||
|
- name: build
|
||
|
image: alpine
|
||
|
commands:
|
||
|
- sh compile.sh
|
||
|
- apk add rsync openssh
|
||
|
- sh deploy.sh
|
||
|
environment:
|
||
|
RSYNC_DESTINATION:
|
||
|
from_secret: RSYNC_DESTINATION
|
||
|
SSH_KEY:
|
||
|
from_secret: SSH_KEY
|
||
|
|
||
|
trigger:
|
||
|
branch:
|
||
|
- main
|