erratum/.drone.yml
Kazhnuz Klappsthul 534e9fe735
All checks were successful
continuous-integration/drone/push Build is passing
Merge pull request 'Version 2.6.1' (#113) from main into stable
Reviewed-on: #113
2024-10-17 21:28:53 +02:00

32 lines
549 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/next.erratum.kazhnuz.space
source: _site/*
user:
from_secret: deploy_user
key:
from_secret: deploy_key
when:
branch: stable
delete: true