23 lines
324 B
YAML
23 lines
324 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: build
|
|
image: alpine
|
|
commands:
|
|
- apk add git nodejs
|
|
- 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
|