miom.space/.drone.yml
Benjamin Yule Bädorf bca5c34582
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is passing
drone: use wireguard internal ip for publish
2024-04-14 15:21:34 +02:00

34 lines
577 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: build
when:
event:
- push
- pull_request
image: denoland/deno:alpine-1.40.2
commands:
- ./build.sh
- name: publish
when:
event:
- push
branch:
- main
image: appleboy/drone-scp
settings:
host: 10.7.6.1
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