Files
learn-languages/.drone.yml
goddonebianu 71955a712a
Some checks reported errors
continuous-integration/drone/push Build was killed
...
2025-12-02 17:47:41 +08:00

41 lines
753 B
YAML

---
kind: pipeline
type: docker
name: learn-languages
platform:
os: linux
arch: amd64
steps:
- name: build
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: registry.edian-studio.com/learn-languages
registry: registry.edian-studio.com
tags:
- latest
- name: deploy
image: appleboy/drone-ssh
settings:
host:
from_secret: ssh_host
username:
from_secret: ssh_username
password:
from_secret: ssh_password
port: 22
script:
- cd ~/docker/learn-languages
- docker compose up -d --pull always
debug: true
trigger:
branch:
- main