forked from schneider/rezeptschneider
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
802 B
30 lines
802 B
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: submodules
|
|
image: alpine/git
|
|
commands:
|
|
#- git submodule update --recursive --remote
|
|
- git clone https://git.schneider-hosting.de/schneider/toasted-cactus.git themes/toasted-cactus
|
|
|
|
- name: build
|
|
image: plugins/hugo
|
|
settings:
|
|
validate: true
|
|
output: public/drone-generated
|
|
url: https://rezept-schneider.de
|
|
hugo_version: 0.62.1
|
|
theme: toasted-cactus
|
|
|
|
- name: deploy
|
|
image: drillster/drone-rsync
|
|
settings:
|
|
hosts: [ "rezept-schneider.de" ]
|
|
target: /var/www/html/rezeptschneider/public/
|
|
source: public/drone-generated/
|
|
user: deploy-rezept
|
|
key:
|
|
from_secret: rsync_key
|
|
|