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
|
# 1. Handle Environment Variables
|
||||||
if [ ! -f .env ]; then
|
if [ ! -f .env ]; then
|
||||||
echo "📄 .env file not found. Creating one from .env.example..."
|
echo "📄 .env file not found. Creating one from .env.sample..."
|
||||||
cp .env.example .env
|
cp .env.sample .env
|
||||||
echo "⚠️ Please edit the .env file with your DOMAIN (and EMAIL for SSL), then run this script again."
|
echo "⚠️ Please edit the .env file with your DOMAIN (and EMAIL for SSL), then run this script again."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user