sonicgarden/.drone.yml
Kazhnuz ea621e6cf7
Some checks failed
continuous-integration/drone Build is failing
Feat: add hidden files
2023-06-10 17:01:02 +02:00

33 lines
544 B
YAML

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
- npx @11ty/eleventy
- name: deploy
image: drillster/drone-rsync
settings:
hosts:
from_secret: deploy_host
target: /var/www/sonicgarden.kobold.cafe
source: _site/*
user:
from_secret: deploy_user
key:
from_secret: deploy_key
when:
branch: main
delete: true