homepage
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.

44 lines
788 B

5 years ago
kind: pipeline
type: docker
name: default
steps:
- name: submodules
image: alpine/git
commands:
- apk update
5 years ago
- apk add git-lfs
- git submodule update --init --recursive
- git submodule update --recursive --remote
- git lfs fetch --all
5 years ago
- name: build
image: klakegg/hugo
5 years ago
settings:
hugo_version:
url: https://h3ndrik.de
validate: true
5 years ago
environment:
5 years ago
HUGO_DESTINATION: public
5 years ago
- name: deploy
image: appleboy/drone-scp
settings:
host: 172.16.85.15
target: /var/www/h3ndrik.de
5 years ago
source: public/*
5 years ago
# rm: true
strip_components: 1
username:
from_secret: ssh_username
password:
from_secret: ssh_password
port:
from_secret: ssh_port
when:
branch:
- master
event:
exclude:
- pull_request