debug and add deployment
continuous-integration/drone/push Build is failing Details

2.0
adb-sh 2 years ago
parent e868dfc9ff
commit de1961ea26

@ -16,3 +16,26 @@ steps:
from_secret: docker_username
password:
from_secret: docker_password
---
kind: pipeline
type: docker
name: deploy
depends_on:
- build
steps:
- name: pull and deploy
image: appleboy/drone-ssh:linux-amd64
settings:
host:
from_secret: ssh_host
username:
from_secret: ssh_user_name
key:
from_secret: ssh_private_key
script: |
cd /media/docker/adb.sh
docker compose -f docker-compose.prod.yml -p adb-sh pull -q
docker compose -f docker-compose.prod.yml -p adb-sh up -d

@ -16,3 +16,5 @@ services:
- "traefik.http.services.adb-sh.loadbalancer.server.port=8080"
- "traefik.http.routers.adb-sh.tls.certresolver=mytlschallenge"
- "traefik.docker.network=web"
networks:
- web

Loading…
Cancel
Save