From 38078de4b019422b7ff91b4d329664c5c35a44e0 Mon Sep 17 00:00:00 2001 From: c6ristian Date: Sat, 27 Jul 2024 23:23:25 +0200 Subject: [PATCH] Fix: set -p for mkdir --- .woodpecker/nextcloud.yaml | 4 ++-- nextcloud/Containerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.woodpecker/nextcloud.yaml b/.woodpecker/nextcloud.yaml index 14a5783..6bd50e8 100644 --- a/.woodpecker/nextcloud.yaml +++ b/.woodpecker/nextcloud.yaml @@ -1,8 +1,8 @@ when: - event: push path: - - 'nextcloud/**' - - '.woodpecker/nextcloud.yaml' + - 'nextcloud/**' + - '.woodpecker/nextcloud.yaml' - event: cron cron: daily diff --git a/nextcloud/Containerfile b/nextcloud/Containerfile index 79741b0..f37901e 100644 --- a/nextcloud/Containerfile +++ b/nextcloud/Containerfile @@ -4,7 +4,7 @@ FROM docker.io/library/nextcloud:${TAG} RUN apt-get update && apt-get install -y \ supervisor \ && rm -rf /var/lib/apt/lists/* \ - && mkdir /var/log/supervisord /var/run/supervisord + && mkdir -p /var/log/supervisord /var/run/supervisord ADD supervisord.conf /supervisord.conf