1
0

Update '.drone.yml'
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Jens True 2020-02-28 10:43:31 +00:00
parent 15b330d31c
commit 1dfe52dbea

@ -6,25 +6,12 @@ steps:
image: alpine/git image: alpine/git
commands: commands:
- git submodule update --recursive --init - git submodule update --recursive --init
- name: build - name: build
image: klakegg/hugo:ext-alpine image: klakegg/hugo:ext-alpine
commands: commands:
- hugo-official - hugo-official
- name: deploy
image: appleboy/drone-scp
settings:
host: jcktrue.dk
target: /srv/raid/apps/http/jcktrue.dk/
source: public/*
strip_components: 1
username:
from_secret: SSH_USERNAME
password:
from_secret: SSH_PASSWORD
trigger:
when:
branch:
- master
- name: deploy_beta - name: deploy_beta
image: appleboy/drone-scp image: appleboy/drone-scp
settings: settings:
@ -36,6 +23,7 @@ steps:
from_secret: SSH_USERNAME from_secret: SSH_USERNAME
password: password:
from_secret: SSH_PASSWORD from_secret: SSH_PASSWORD
- name: deploy - name: deploy
image: appleboy/drone-scp image: appleboy/drone-scp
settings: settings: