pub.solar/.drone.yml
Benjamin Bädorf d015590cc8
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
ci: use newer deno version
2023-11-15 17:42:40 +01:00

34 lines
592 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: build
when:
event:
- push
- pull_request
image: denoland/deno:alpine-1.38.0
commands:
- deno task build
- name: publish
when:
event:
- push
branch:
- main
image: appleboy/drone-scp
settings:
host: nachtigall.pub.solar
port: 22
username:
from_secret: ps_ssh_user
key:
from_secret: ps_ssh_key
source:
- ./_site/*
target: /srv/www/pub.solar/
overwrite: true
strip_components: 1