21 lines
270 B
YAML
21 lines
270 B
YAML
|
---
|
||
|
kind: pipeline
|
||
|
type: docker
|
||
|
name: default
|
||
|
|
||
|
steps:
|
||
|
- name: build
|
||
|
image: fedora:39
|
||
|
commands:
|
||
|
- yum install --assumeyes openssh
|
||
|
- sh deploy.sh
|
||
|
environment:
|
||
|
HOST:
|
||
|
from_secret: HOST
|
||
|
SSH_KEY:
|
||
|
from_secret: SSH_KEY
|
||
|
|
||
|
trigger:
|
||
|
branch:
|
||
|
- main
|