This commit is contained in:
10
.drone.yml
10
.drone.yml
@@ -1,16 +1,18 @@
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: deploy-homer
|
name: deploy-homer
|
||||||
type: docker
|
type: docker
|
||||||
|
|
||||||
platform:
|
platform:
|
||||||
os: linux
|
os: linux
|
||||||
arch: arm64
|
arch: arm64
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: dns-lookup
|
||||||
|
image: alpine:latest
|
||||||
|
commands:
|
||||||
|
- nslookup homer.chaos
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: drillster/drone-rsync:latest
|
image: drillster/drone-rsync:latest
|
||||||
settings:
|
settings:
|
||||||
@@ -18,6 +20,6 @@ steps:
|
|||||||
source: ./
|
source: ./
|
||||||
target: /home/podman/.local/share/containers/storage/volumes/homer-assets/_data/
|
target: /home/podman/.local/share/containers/storage/volumes/homer-assets/_data/
|
||||||
user: podman
|
user: podman
|
||||||
key:
|
key:
|
||||||
from_secret: ssh
|
from_secret: ssh
|
||||||
command_timeout: 2m
|
command_timeout: 2m
|
||||||
|
|||||||
Reference in New Issue
Block a user