This commit is contained in:
parent
645fac2e9d
commit
be84a7e8b3
30
.drone.yml
Normal file
30
.drone.yml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
kind: pipeline
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: deploy
|
||||||
|
image: registry.eterna.leafbla.de/pelipper
|
||||||
|
settings:
|
||||||
|
ssh_key:
|
||||||
|
from_secret: rsync_key
|
||||||
|
source: slaeforms/
|
||||||
|
destination: pelipper@oreburgh.leafbla.de:/srv/docker/janapp/slaeforms/
|
||||||
|
|
||||||
|
- name: restart
|
||||||
|
image: registry.eterna.leafbla.de/drowzee
|
||||||
|
settings:
|
||||||
|
host: oreburgh.leafbla.de
|
||||||
|
username: psyduck
|
||||||
|
key:
|
||||||
|
from_secret: deploy_key
|
||||||
|
command: |
|
||||||
|
cd /srv/docker/janapp;
|
||||||
|
docker compose down;
|
||||||
|
docker compose up --build -d;
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
|
|
||||||
|
image_pull_secrets:
|
||||||
|
- docker_config
|
Loading…
Reference in New Issue
Block a user