Update .drone.yml
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
xCyanGrizzly
2026-03-21 12:40:24 +01:00
committed by GitHub
parent 50e7e02b2d
commit b75b0e1f91

View File

@@ -1,34 +1,33 @@
---
kind: pipeline
---
kind: pipeline
type: docker
name: build-and-deploy
trigger:
branch: [main]
event: [push]
name: build-and-deploy
trigger:
branch: [main]
event: [push]
steps:
- name: build
image: plugins/docker
settings:
repo: git.samagsteribbe.nl/admin/dragonsstash
registry: git.samagsteribbe.nl
tags:
- latest
- name: build
image: plugins/docker
settings:
repo: git.samagsteribbe.nl/admin/dragonsstash
registry: git.samagsteribbe.nl
tags:
- latest
- "${DRONE_COMMIT_SHA:0:8}"
username:
from_secret: gitea_username
password:
from_secret: gitea_password
- name: deploy
- name: deploy
image: appleboy/drone-ssh
settings:
key:
from_secret: ssh_key
environment:
PLUGIN_HOST: 192.168.68.68
environment:
PLUGIN_HOST: 192.168.68.68
PLUGIN_USERNAME: sam
PLUGIN_PORT: "22"
PLUGIN_PORT: "22"
PLUGIN_KEY:
from_secret: ssh_key
PLUGIN_SCRIPT: "cd /opt/stacks/DragonsStash && docker compose pull &&
docker compose up -d"
docker compose up -d"