28 lines
508 B
YAML
28 lines
508 B
YAML
kind: pipeline
|
|
name: deploy-homer
|
|
type: docker
|
|
platform:
|
|
os: linux
|
|
arch: arm64
|
|
trigger:
|
|
branch:
|
|
- main
|
|
event:
|
|
- push
|
|
|
|
steps:
|
|
- name: deploy
|
|
image: drillster/drone-rsync:latest
|
|
settings:
|
|
#hosts: ["homer.chaos"]
|
|
hosts:
|
|
- host.containers.internal
|
|
source: ./
|
|
args: --delete-excluded
|
|
exclude: [ ".git*" ]
|
|
target: /home/podman/.local/share/containers/storage/volumes/homer-assets/_data/
|
|
user: podman
|
|
key:
|
|
from_secret: ssh
|
|
command_timeout: 2m
|