Merge branch 'SillyTavern:release' into sampler-order-ooba

This commit is contained in:
kalomaze 2024-02-19 18:11:30 -06:00 committed by GitHub
commit 0d8858285f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View File

@ -4,8 +4,8 @@ name: Create Docker Image on Release
on: on:
release: release:
# Only runs on full releases not pre releases # Allow pre-releases
types: [released] types: [published]
env: env:
# This should allow creation of docker images even in forked repositories # 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 && \ rm -f "config.yaml" "public/settings.json" || true && \
ln -s "./config/config.yaml" "config.yaml" || true && \ ln -s "./config/config.yaml" "config.yaml" || true && \
ln -s "../config/settings.json" "public/settings.json" || true && \ ln -s "../config/settings.json" "public/settings.json" || true && \
mkdir "config" || true mkdir "config" || true && \
mkdir -p "public/user" || true
# Cleanup unnecessary files # Cleanup unnecessary files
RUN \ RUN \