itsb/.drone.yml

34 lines
654 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: test
image: alpine
commands:
- apk add libxml2-utils libxslt
- xmllint --noout --schema itsb.xsd itsb.xml
- 'xsltproc xslt/itsb.xsl itsb.xml | xmllint --noout --schema itsb.xsd -'
- 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