1
0
jcktrue.dk/.drone.yml

23 lines
485 B
YAML
Raw Normal View History

2020-02-25 09:27:35 +00:00
kind: pipeline
name: default
steps:
- name: requirements
image: alpine/git
commands:
2020-02-25 10:09:31 +00:00
- git submodule update --recursive --remote --init
2020-02-25 09:27:35 +00:00
- name: build
image: klakegg/hugo:ext-alpine
commands:
2020-02-25 10:24:43 +00:00
- hugo-official --minify
2020-02-25 10:19:37 +00:00
- name: deploy
image: appleboy/drone-scp
settings:
host: jcktrue.dk
target: /srv/raid/apps/http/jcktrue.dk/
2020-02-25 10:24:43 +00:00
source: public/*
2020-02-25 10:19:37 +00:00
strip_components: 1
username:
from_secret: SSH_USERNAME
password:
from_secret: SSH_PASSWORD