This commit is contained in:
parent
a67a689a87
commit
6f757f36ef
@ -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
|
||||
|
Reference in New Issue
Block a user