Merge branch 'release' into staging

This commit is contained in:
Cohee 2024-02-11 19:22:20 +02:00
commit 7bcb6f1ee1
2 changed files with 4 additions and 3 deletions

View File

@ -4,8 +4,8 @@ name: Create Docker Image on Release
on:
release:
# Only runs on full releases not pre releases
types: [released]
# Allow pre-releases
types: [published]
env:
# This should allow creation of docker images even in forked repositories

View File

@ -34,7 +34,8 @@ RUN \
rm -f "config.yaml" "public/settings.json" || true && \
ln -s "./config/config.yaml" "config.yaml" || true && \
ln -s "../config/settings.json" "public/settings.json" || true && \
mkdir "config" || true
mkdir "config" || true && \
mkdir -p "public/user" || true
# Cleanup unnecessary files
RUN \