Files
learn-languages/.drone.yml
goddonebianu bd5fc06cc5
Some checks are pending
continuous-integration/drone/push Build is running
continuous-integration/drone Build is passing
...
2025-12-02 17:54:23 +08:00

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