added drone config
This commit is contained in:
parent
3cac42269b
commit
d4fb3e23f4
|
@ -0,0 +1,33 @@
|
|||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
|
||||
- name: submodules
|
||||
image: alpine/git
|
||||
commands:
|
||||
- git submodule update --init --recursive
|
||||
|
||||
- name: build
|
||||
image: klakegg/hugo:ext-ci
|
||||
commands:
|
||||
- cd themes/ananke # && npm i && cd -
|
||||
- hugo --gc --minify --environment production
|
||||
|
||||
- name: deploy
|
||||
image: appleboy/drone-scp
|
||||
settings:
|
||||
host: "217.160.46.175"
|
||||
target:
|
||||
- /var/www/html/nicktrimborn.de/public_html/
|
||||
source:
|
||||
- public/*
|
||||
username: "root"
|
||||
password: "R*Hc96Wb@v"
|
||||
|
||||
trigger:
|
||||
event:
|
||||
include:
|
||||
- push
|
||||
- pull_request
|
Loading…
Reference in New Issue