Add Drone Config
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Jake 2022-01-19 12:09:58 +00:00
parent e97e6c3730
commit f9cee545d1
3 changed files with 26 additions and 4 deletions

23
.drone.yml Normal file
View File

@ -0,0 +1,23 @@
---
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
rm: true

View File

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

2
.gitignore vendored
View File

@ -137,3 +137,5 @@ temp/
*.code-workspace
# End of https://www.toptal.com/developers/gitignore/api/node,vscode
_site