Automatically deploy to bbaovanc.com using Drone #1

Merged
bbaovanc merged 12 commits from drone-ci-deploy into master 2021-04-14 00:56:00 -05:00
1 changed files with 5 additions and 3 deletions
Showing only changes of commit 54ebcd5c69 - Show all commits

View File

@ -13,7 +13,9 @@ steps:
image: mapitman/docker-hugo image: mapitman/docker-hugo
commands: commands:
- hugo version - hugo version
- hugo --minify - hugo --minify -d blog/
- name:
- name: Upload files - name: Upload files
image: appleboy/drone-scp image: appleboy/drone-scp
@ -23,7 +25,7 @@ steps:
username: droneci username: droneci
key: key:
from_secret: SSH_KEY from_secret: SSH_KEY
target: /tmp/blog target: /tmp/
rm: true rm: true
source: source:
- public/* - blog/