This repository has been archived on 2024-04-03. You can view files and clone it, but cannot push or open issues or pull requests.
vault/.drone.yml

33 lines
538 B
YAML
Raw Normal View History

2022-04-03 12:42:17 +02:00
kind: pipeline
name: production
when:
event: [ push ]
branch: [ main ]
clone:
git:
image: plugins/git
pull: true
steps:
- name: build
image: node:latest
commands:
- npm i
2023-06-09 17:40:13 +02:00
- npx @11ty/eleventy
2022-04-03 12:42:17 +02:00
- name: deploy
image: drillster/drone-rsync
settings:
hosts:
from_secret: deploy_host
target: /var/www/vault.kobold.city
2023-06-09 17:40:13 +02:00
source: _site/*
2022-04-03 12:42:17 +02:00
user:
from_secret: deploy_user
key:
from_secret: deploy_key
when:
branch: main
delete: true