---
kind: pipeline
type: docker
name: default
steps:
- name: build
image: alpine
commands:
- apk add git nodejs npm go
- 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