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 6f757f36ef - Show all commits

View File

@ -15,11 +15,6 @@ steps:
- hugo version
- hugo --minify
- name: Compress public folder
image: alpine
commands:
- tar -czvf deploy.tar.gz public/*
- name: Upload files
image: appleboy/drone-scp
settings:
@ -30,4 +25,5 @@ steps:
from_secret: SSH_KEY
target: /tmp/blog/
rm: true
source: deploy.tar.gz
source: public/
strip_components: 1