Add Drone Config
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
e97e6c3730
commit
f9cee545d1
|
@ -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
|
|
@ -5,9 +5,6 @@ module.exports = function(eleventyConfig) {
|
||||||
// eleventyConfig.addGlobalData("layout", "main");
|
// eleventyConfig.addGlobalData("layout", "main");
|
||||||
|
|
||||||
return {
|
return {
|
||||||
pathPrefix: "/~jakew/",
|
pathPrefix: "/~jakew/"
|
||||||
dir: {
|
|
||||||
output: "/home/jakew/public_html"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -137,3 +137,5 @@ temp/
|
||||||
*.code-workspace
|
*.code-workspace
|
||||||
|
|
||||||
# End of https://www.toptal.com/developers/gitignore/api/node,vscode
|
# End of https://www.toptal.com/developers/gitignore/api/node,vscode
|
||||||
|
|
||||||
|
_site
|
||||||
|
|
Loading…
Reference in New Issue