From 898ab15c6b0614b61a170e6c49dae6da108d9f7f Mon Sep 17 00:00:00 2001 From: Hendrik Langer Date: Sat, 17 Apr 2021 12:34:43 +0200 Subject: [PATCH] add ci --- .drone.yml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..4547842 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,40 @@ +kind: pipeline +name: default + +steps: +- name: submodules + image: alpine/git + commands: + - apk update + - apk add git-lfs + - git submodule update --init --recursive + - git submodule update --recursive --remote + - git lfs fetch --all + +- name: build + image: plugins/hugo + settings: + hugo_version: + url: https://xd0.de/doc/ + validate: true + +#- name: deploy +# image: appleboy/drone-scp +# settings: +# host: 172.16.85.15 +# target: /var/www/langer-rosenkranz.de +# source: public/* +## rm: true +# strip_components: 1 +# username: +# from_secret: ssh_username +# password: +# from_secret: ssh_password +# port: +# from_secret: ssh_port +# when: +# branch: +# - main +# event: +# exclude: +# - pull_request