hatecomputers.club/.drone.yml

33 lines
704 B
YAML
Raw Normal View History

2024-03-26 18:00:05 -04:00
---
kind: pipeline
type: docker
name: build, publish docker image, deploy
2024-03-26 18:00:05 -04:00
steps:
- name: docker
image: plugins/docker
settings:
username:
from_secret: gitea_packpub_username
password:
from_secret: gitea_packpub_password
registry: git.hatecomputers.club
repo: git.hatecomputers.club/hatecomputers/hatecomputers.club
tags:
- latest
- main
- name: ssh
image: appleboy/drone-ssh
settings:
host: hatecomputers.club
username: root
key:
from_secret: cd_ssh_key
port: 22
command_timeout: 2m
script:
- systemctl restart docker-compose@hatecomputers-club
2024-03-26 18:00:05 -04:00
trigger:
branch:
2024-03-26 18:04:01 -04:00
- main