teutat3s
08448b0358
Also, don't install lume, following their docs https://lume.land/docs/overview/installation/#don't-install-lume
35 lines
643 B
YAML
35 lines
643 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: build
|
|
when:
|
|
events:
|
|
- push
|
|
- pull_request
|
|
image: denoland/deno:alpine-1.26.2
|
|
commands:
|
|
- deno run -Ar https://deno.land/x/lume@v1.12.1/init.ts
|
|
- deno task build
|
|
|
|
- name: publish
|
|
when:
|
|
events:
|
|
- push
|
|
branch:
|
|
- main
|
|
image: appleboy/drone-scp
|
|
settings:
|
|
host: pub.solar
|
|
port: 2020
|
|
username:
|
|
from_secret: ps_ssh_user
|
|
key:
|
|
from_secret: ps_ssh_key
|
|
source:
|
|
- ./_site/*
|
|
target: /srv/pub.solar/
|
|
overwrite: true
|
|
strip_components: 1
|