Added deploy step
continuous-integration/drone/push Build is passing Details

This commit is contained in:
DutchEllie 2022-05-19 13:36:14 +02:00
parent 5a6ff25b2a
commit 683b644227
Signed by: DutchEllie
SSH Key Fingerprint: SHA256:dKq6ZSgN5E3Viqrw/+xAdf2VdR6hdRGNyrYqXXwfjTY
1 changed files with 29 additions and 1 deletions

View File

@ -201,3 +201,31 @@ depends_on:
- pepebot_build_amd64
- pepebot_service_build_arm64
- pepebot_service_build_amd64
---
kind: pipeline
type: kubernetes
name: deploy_on_pi
trigger:
branch:
- main
steps:
- name: deploy
image: appleboy/drone-ssh
settings:
host: home.dutchellie.nl
port: 223
username: ellie
key:
from_secret: ssh_key
script:
- cd /home/ellie/pepebot
- docker-compose pull app
- docker-compose pull pepe_service
- docker-compose up -d
depends_on:
- manifest