Added deploy step
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
5a6ff25b2a
commit
683b644227
30
.drone.yml
30
.drone.yml
|
@ -200,4 +200,32 @@ depends_on:
|
|||
- pepebot_build_arm64
|
||||
- pepebot_build_amd64
|
||||
- pepebot_service_build_arm64
|
||||
- pepebot_service_build_amd64
|
||||
- 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
|
Loading…
Reference in New Issue