Files
learn-languages/.drone.yml
goddonebianu 97a21dfd2f
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is failing
...
2025-11-03 21:15:47 +08:00

41 lines
739 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
debug: true
trigger:
branch:
- main