Update scripts/new-dotnet-worker-app.sh
This commit is contained in:
@@ -12,6 +12,7 @@ if [ -z "$APP_ID" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
APP_DIR="$WORKSPACE_DIR/$APP_ID"
|
APP_DIR="$WORKSPACE_DIR/$APP_ID"
|
||||||
|
TOOLS_DIR="$WORKSPACE_DIR/appfactory-tools"
|
||||||
PROJECT_NAME="$(python3 - "$APP_ID" <<'PY'
|
PROJECT_NAME="$(python3 - "$APP_ID" <<'PY'
|
||||||
import re
|
import re
|
||||||
import sys
|
import sys
|
||||||
@@ -150,6 +151,8 @@ docker run --rm -p 8080:8080 $APP_ID:latest
|
|||||||
\`\`\`
|
\`\`\`
|
||||||
EOF_MD
|
EOF_MD
|
||||||
|
|
||||||
|
cp "$TOOLS_DIR/AGENTS.md" "$TARGET_DIR/AGENTS.md"
|
||||||
|
|
||||||
git init
|
git init
|
||||||
git config user.name "AppFactory Bot"
|
git config user.name "AppFactory Bot"
|
||||||
git config user.email "appfactory@local"
|
git config user.email "appfactory@local"
|
||||||
|
|||||||
Reference in New Issue
Block a user