Drone CI attempt
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
feb0e6a2f9
commit
f0570c11f8
|
@ -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
|
Loading…
Reference in New Issue