1
0
jcktrue.dk/.woodpecker.yml

21 lines
427 B
YAML
Raw Normal View History

2020-02-25 09:27:35 +00:00
kind: pipeline
name: default
steps:
- name: build
image: klakegg/hugo:ext-alpine
commands:
2020-09-05 14:03:30 +00:00
- hugo mod get -u
2020-05-10 16:45:17 +00:00
- hugo-official --minify --gc --cleanDestinationDir
2020-02-28 10:43:31 +00:00
- name: deploy
2020-02-28 10:40:33 +00:00
image: appleboy/drone-scp
settings:
host: jcktrue.dk
2020-03-21 10:52:55 +00: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 14:10:39 +00:00
from_secret: SSH_PASSWORD