Add drone config
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Luca 2020-10-06 01:32:06 +02:00
parent e45b6b67c3
commit 080b9b5baa
1 changed files with 21 additions and 0 deletions

21
.drone.yml Normal file
View File

@ -0,0 +1,21 @@
---
kind: pipeline
type: docker
name: default
steps:
- name: deploy
image: alpine:3.12
volumes:
- name: site
path: /var/www/html
commands:
- apk add --no-cache hugo
- hugo
- cp -r public/* /var/www/html
volumes:
- name: site
host:
path: /srv/www/sites/www.franconian.net