|
kind: pipeline
|
|
type: docker
|
|
name: deploy
|
|
|
|
steps:
|
|
- name: deploy
|
|
image: ubuntu:22.04
|
|
environment:
|
|
HOST:
|
|
from_secret: host
|
|
USER:
|
|
from_secret: user
|
|
SSH_KEY:
|
|
from_secret: ssh_key
|
|
PATH:
|
|
from_secret: path
|
|
when:
|
|
branch:
|
|
- main
|
|
commands:
|
|
- cat /etc/os-release
|