commit dronconfig
This commit is contained in:
parent
2ce9702c36
commit
3d6c08d73e
31
.drone.yml
31
.drone.yml
|
@ -0,0 +1,31 @@
|
|||
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/anakne && npm i && cd -
|
||||
- hugo --gc --minify --environment production
|
||||
|
||||
- name: deploy
|
||||
image: appleboy/drone-scp
|
||||
settings:
|
||||
host: "10.0.2.1"
|
||||
target: /mnt/volume1/shares/www/richard-dern.fr/www/
|
||||
source: public/*
|
||||
username:
|
||||
from_secret: ssh_user
|
||||
password:
|
||||
from_secret: ssh_password
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
Loading…
Reference in New Issue