52 lines
1.1 KiB
YAML
52 lines
1.1 KiB
YAML
|
kind: pipeline
|
||
|
type: docker
|
||
|
name: default
|
||
|
|
||
|
steps:
|
||
|
- name: deploy
|
||
|
image: drillster/drone-rsync
|
||
|
settings:
|
||
|
source: .
|
||
|
target: ~/dev/itsb/
|
||
|
hosts:
|
||
|
- tilde.town
|
||
|
user: lucidiot
|
||
|
exclude:
|
||
|
- .git
|
||
|
- feeds
|
||
|
- feeds.*
|
||
|
key:
|
||
|
from_secret: rsync_ssh_key
|
||
|
script:
|
||
|
- tree ~/dev/itsb/
|
||
|
when:
|
||
|
branch:
|
||
|
- main
|
||
|
repo:
|
||
|
- lucidiot/itsb
|
||
|
|
||
|
- name: irc
|
||
|
image: plugins/irc
|
||
|
settings:
|
||
|
host: m455.casa
|
||
|
port: 6697
|
||
|
nick: lucibot
|
||
|
channel: '#station'
|
||
|
enable_tls: yes
|
||
|
use_sasl: yes
|
||
|
sasl_password:
|
||
|
from_secret: sasl_password
|
||
|
template: 'deploying https://tildegit.org/lucidiot/itsb/commit/{{ build.commit }} - {{ build.status }} ({{ build.link }})'
|
||
|
when:
|
||
|
status:
|
||
|
- success
|
||
|
- failure
|
||
|
branch:
|
||
|
- main
|
||
|
repo:
|
||
|
- lucidiot/itsb
|
||
|
# For some reason, the IRC plugin works but causes
|
||
|
# an "Error, disconnected: EOF" when quitting, which
|
||
|
# makes the pipeline fail every time…
|
||
|
failure: ignore
|