pub.solar/.drone.yml
teutat3s 12a24477b4
All checks were successful
continuous-integration/drone/push Build is passing
Deploy website to flora-6
Bump deno to 1.29.4
2023-01-29 17:15:16 +01:00

34 lines
591 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: build
when:
events:
- push
- pull_request
image: denoland/deno:alpine-1.29.4
commands:
- deno task build
- name: publish
when:
events:
- push
branch:
- main
image: appleboy/drone-scp
settings:
host: flora-6.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