Fix remove failing if no files exist
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
835a1fe896
commit
0665a51ad4
|
@ -7,7 +7,7 @@ steps:
|
||||||
build:
|
build:
|
||||||
image: klakegg/hugo:ext-asciidoctor-ci
|
image: klakegg/hugo:ext-asciidoctor-ci
|
||||||
commands:
|
commands:
|
||||||
- rm -r /korhonen.cc/*
|
- rm -rf /korhonen.cc/*
|
||||||
- hugo -d /korhonen.cc
|
- hugo -d /korhonen.cc
|
||||||
volumes:
|
volumes:
|
||||||
- /var/www/korhonen.cc:/korhonen.cc
|
- /var/www/korhonen.cc:/korhonen.cc
|
||||||
|
|
Loading…
Reference in a new issue