fix(script): change file name from .env.example to .env.sample

This commit is contained in:
2026-03-25 01:16:53 +08:00
parent 0c3c9f73d8
commit 9afe2dc5b1

4
run.sh
View File

@@ -5,8 +5,8 @@ echo "🚀 Starting OneDev Deployment..."
# 1. Handle Environment Variables
if [ ! -f .env ]; then
echo "📄 .env file not found. Creating one from .env.example..."
cp .env.example .env
echo "📄 .env file not found. Creating one from .env.sample..."
cp .env.sample .env
echo "⚠️ Please edit the .env file with your DOMAIN (and EMAIL for SSL), then run this script again."
exit 1
fi