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
Showing only changes of commit c7dc7e05be - Show all commits

View File

@ -13,7 +13,12 @@ steps:
image: mapitman/docker-hugo
commands:
- hugo version
- hugo --minify -d blog/
- hugo --minify
- name: Compress public folder
image: alpine/latest
commands:
- tar -czvf deploy.tar.gz public/*
- name: Upload files
image: appleboy/drone-scp
@ -23,7 +28,6 @@ steps:
username: droneci
key:
from_secret: SSH_KEY
target: /tmp/
target: /tmp/blog/
rm: true
source:
- blog/
source: deploy.tar.gz