commit dronconfig

This commit is contained in:
nick 2023-02-27 13:22:58 +00:00
parent 2ce9702c36
commit 3d6c08d73e
1 changed files with 31 additions and 0 deletions

View File

@ -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