diff --git a/.gitea/workflows/docker.yaml b/.gitea/workflows/docker.yaml index 9fbcba0..174f14b 100644 --- a/.gitea/workflows/docker.yaml +++ b/.gitea/workflows/docker.yaml @@ -3,7 +3,7 @@ name: stikked on: push jobs: - release-image: + release-stikked: runs-on: act_runner container: image: catthehacker/ubuntu:act-latest diff --git a/rootfs/root/docker/setup/00-init.sh b/rootfs/root/docker/setup/00-init.sh index 6df797f..8a99caa 100755 --- a/rootfs/root/docker/setup/00-init.sh +++ b/rootfs/root/docker/setup/00-init.sh @@ -27,6 +27,8 @@ exitCode=0 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Predifined actions +[ -d "$WWW_ROOT_DIR" ] && rm -Rf "$WWW_ROOT_DIR" +[ -d "/usr/local/share/wwwroot" ] && rm -d "/usr/local/share/wwwroot" [ -d "/usr/local/share/template-files/data" ] && rm -Rf "/usr/local/share/template-files/data"/* [ -d "/usr/local/share/template-files/config" ] && rm -Rf "/usr/local/share/template-files/config"/* [ -d "/usr/local/share/template-files/defaults" ] && rm -Rf "/usr/local/share/template-files/defaults"/*