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