Update eleventy config

This commit is contained in:
Jake 2022-01-21 10:27:25 +00:00
parent ae9979e917
commit 6a66e5ea9b
2 changed files with 4 additions and 23 deletions

View File

@ -1,22 +0,0 @@
---
kind: pipeline
type: docker
name: main
steps:
- name: build
image: node:17-alpine
commands:
- yarn --dev
- yarn run build
- name: deploy
image: appleboy/drone-scp
settings:
host: southlondon.cc
username: jakew
key:
from_secret: ssh_key
port: 22
target: /home/jakew/public_html/
source: _site
strip_components: 1

View File

@ -6,6 +6,9 @@ module.exports = function(eleventyConfig) {
eleventyConfig.addWatchTarget("static");
return {
pathPrefix: "/~jakew/"
pathPrefix: "/~jakew/",
dir: {
output: "/home/jakew/public_html"
}
}
};