feat: run e2e server in dev mode (#23921)

* feat: run e2e server in dev mode

* Use bash syntax: [[ and ==
This commit is contained in:
Min Idzelis
2025-11-17 15:16:39 -05:00
committed by GitHub
parent 237ddcb648
commit 58c3c7e26b
3 changed files with 109 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
if [ "$IMMICH_ENV" != "development" ]; then
if [[ "$IMMICH_ENV" == "production" ]]; then
echo "This command can only be run in development environments"
exit 1
fi