Added envs to variables on the repository
This commit is contained in:
@@ -94,12 +94,12 @@ jobs:
|
|||||||
echo "Creating .env file for Docker build..."
|
echo "Creating .env file for Docker build..."
|
||||||
cat > .env << EOF
|
cat > .env << EOF
|
||||||
# Build-time environment variables
|
# Build-time environment variables
|
||||||
NEXT_PUBLIC_SITE_URL=${{ secrets.NEXT_PUBLIC_SITE_URL }}
|
NEXT_PUBLIC_SITE_URL=${{ vars.NEXT_PUBLIC_SITE_URL }}
|
||||||
NODE_ENV=production
|
NODE_ENV=production
|
||||||
NEXT_TELEMETRY_DISABLED=1
|
NEXT_TELEMETRY_DISABLED=1
|
||||||
|
|
||||||
# Add other build-time variables here as needed
|
# Add other build-time variables here as needed
|
||||||
# NEXT_PUBLIC_GA_ID=${{ secrets.NEXT_PUBLIC_GA_ID }}
|
# NEXT_PUBLIC_GA_ID=${{ vars.NEXT_PUBLIC_GA_ID }}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
echo "✅ .env file created successfully"
|
echo "✅ .env file created successfully"
|
||||||
|
|||||||
Reference in New Issue
Block a user