Fix remove failing if no files exist
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Marko Korhonen 2023-12-10 14:10:42 +02:00
parent 835a1fe896
commit 0665a51ad4
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890

View file

@ -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