Files
dragonsstash/.drone.yml
xCyanGrizzly b7a76fd932
Some checks failed
continuous-integration/drone/push Build is failing
Update .drone.yml
2026-03-21 12:51:05 +01:00

36 lines
1.5 KiB
YAML

---
kind: pipeline
type: docker
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
- "${DRONE_COMMIT_SHA:0:8}"
username:
from_secret: gitea_username
password:
from_secret: gitea_password
- name: deploy
image: appleboy/drone-ssh:1.8.0
settings:
host: 192.168.68.68
username: sam
port: 22
key:
from_secret: ssh_key
script:
- cd /opt/stacks/DragonsStash
- docker compose pull
- docker compose up -d