Automatically deploy to bbaovanc.com using Drone #1
@ -13,7 +13,9 @@ steps:
|
||||
image: mapitman/docker-hugo
|
||||
commands:
|
||||
- hugo version
|
||||
- hugo --minify
|
||||
- hugo --minify -d blog/
|
||||
|
||||
- name:
|
||||
|
||||
- name: Upload files
|
||||
image: appleboy/drone-scp
|
||||
@ -23,7 +25,7 @@ steps:
|
||||
username: droneci
|
||||
key:
|
||||
from_secret: SSH_KEY
|
||||
target: /tmp/blog
|
||||
target: /tmp/
|
||||
rm: true
|
||||
source:
|
||||
- public/*
|
||||
- blog/
|
||||
|
Reference in New Issue
Block a user