miom.space/.drone.yml
Benjamin Yule Bädorf 8341c079f8
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
lume: update to v2
* Update lume to v2
* Update deno to v1.41.3
* Use vento instead of nunjucks for templating
* Use markdown for page data
* Fix english translation of homepage
* Fix asset build
* Make images responsive
2024-04-14 15:02:49 +02: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.40.2
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/miom.space
overwrite: true
strip_components: 1