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
e45b6b67c3
commit
080b9b5baa
|
@ -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
|
Loading…
Reference in New Issue