---
kind: pipeline
type: docker
name: default
steps:
- name: build
image: alpine
commands:
- sh compile.sh
- apk add openssh
- sh deploy.sh
environment:
SSH_CONNECTION_STRING:
from_secret: SSH_CONNECTION_STRING
SSH_KEY:
from_secret: SSH_KEY
trigger:
branch:
- main