fix(script): change file name from .env.example to .env.sample
This commit is contained in:
4
run.sh
4
run.sh
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user