28 lines
554 B
YAML
28 lines
554 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: homolog
|
|
|
|
steps:
|
|
- name: deploy to homolog
|
|
image: appleboy/scp
|
|
settings:
|
|
host: 216.22.5.141
|
|
username: root
|
|
password: F6tC5tCh29XQRpzp
|
|
port: 22
|
|
source: .
|
|
target: /home/app_fatura_homolog
|
|
rm: true
|
|
|
|
- name: restart container
|
|
image: appleboy/ssh
|
|
settings:
|
|
host: 216.22.5.141
|
|
username: root
|
|
password: F6tC5tCh29XQRpzp
|
|
port: 22
|
|
script:
|
|
- cd /home/app_fatura_homolog
|
|
- docker compose down
|
|
- docker compose up -d
|