Drone CI attempt
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Lucidiot 2021-08-03 22:41:00 +02:00
parent feb0e6a2f9
commit f0570c11f8
Signed by: lucidiot
GPG Key ID: 3358C1CA6906FB8D
1 changed files with 51 additions and 0 deletions

51
.drone.yml Normal file
View File

@ -0,0 +1,51 @@
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