2020-02-25 09:27:35 +00:00
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
image: klakegg/hugo:ext-alpine
|
|
|
|
commands:
|
2020-09-05 16:03:30 +02:00
|
|
|
- hugo mod get -u
|
2020-05-10 18:45:17 +02:00
|
|
|
- hugo-official --minify --gc --cleanDestinationDir
|
2020-02-28 10:43:31 +00:00
|
|
|
|
2020-02-28 10:42:30 +00:00
|
|
|
- name: deploy
|
2020-02-28 10:40:33 +00:00
|
|
|
image: appleboy/drone-scp
|
|
|
|
settings:
|
|
|
|
host: jcktrue.dk
|
2020-03-21 11:52:55 +01:00
|
|
|
target: /home/jct/apps/http/jcktrue.dk/
|
2020-02-28 10:40:33 +00:00
|
|
|
source: public/*
|
|
|
|
strip_components: 1
|
|
|
|
username:
|
|
|
|
from_secret: SSH_USERNAME
|
|
|
|
password:
|
2020-09-05 16:10:39 +02:00
|
|
|
from_secret: SSH_PASSWORD
|