mistymountains/.drone.yml

30 lines
532 B
YAML
Raw Normal View History

2024-04-30 00:01:09 -04:00
---
kind: pipeline
type: docker
name: default
steps:
2024-05-01 03:46:57 -04:00
- name: docker
image: plugins/docker
settings:
username:
from_secret: gitea_packpub_username
password:
from_secret: gitea_packpub_password
registry: git.simponic.xyz
repo: git.simponic.xyz/simponic/mistymountains
2024-04-30 00:11:40 -04:00
- name: deploy
2024-04-30 00:01:09 -04:00
image: fedora:39
commands:
2024-04-30 00:11:40 -04:00
- yum install --assumeyes openssh-clients rsync
2024-04-30 00:01:09 -04:00
- sh deploy.sh
environment:
HOST:
from_secret: HOST
SSH_KEY:
from_secret: SSH_KEY
trigger:
branch:
2024-04-30 00:11:40 -04:00
- master