ci: build: remove full path to build

This commit is contained in:
Bruno BELANYI 2020-07-15 17:09:03 +02:00
parent 697affa7c4
commit 1814060f97

View file

@ -14,15 +14,15 @@ steps:
image: klakegg/hugo image: klakegg/hugo
commands: commands:
- hugo version - hugo version
- hugo --destination /drone/src/build --minify - hugo --minify
environment: environment:
HUGO_ENV: production HUGO_ENV: production
- name: deploy - name: deploy
image: appleboy/drone-scp image: appleboy/drone-scp
settings: settings:
source: /drone/src/build/* source: public/*
strip_components: 3 # Make sure the tarball doesn't contain leading path strip_components: 1 # Make sure the tarball doesn't contain leading path
rm: true # Make sure only the newly generated files are left rm: true # Make sure only the newly generated files are left
host: host:
from_secret: ssh_host from_secret: ssh_host