Use strip_components
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
BBaoVanC 2021-04-14 00:41:24 -05:00
parent a67a689a87
commit 6f757f36ef
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A

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