Update eleventy config
This commit is contained in:
parent
ae9979e917
commit
6a66e5ea9b
22
.drone.yml
22
.drone.yml
|
@ -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
|
|
@ -6,6 +6,9 @@ module.exports = function(eleventyConfig) {
|
|||
eleventyConfig.addWatchTarget("static");
|
||||
|
||||
return {
|
||||
pathPrefix: "/~jakew/"
|
||||
pathPrefix: "/~jakew/",
|
||||
dir: {
|
||||
output: "/home/jakew/public_html"
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue