diff --git a/scripts/new-python-app.sh b/scripts/new-python-app.sh index ffc9ba3..85d5595 100755 --- a/scripts/new-python-app.sh +++ b/scripts/new-python-app.sh @@ -110,11 +110,11 @@ if grep -q '"message"' /tmp/appfactory-create-hook-response.json; then cat /tmp/appfactory-create-hook-response.json fi -git config --global init.defaultBranch main || true git init git config user.name "AppFactory Bot" git config user.email "appfactory@local" git branch -M main + GITEA_PUSH_URL="${GITEA_URL/http:\/\//http:\/\/${GITEA_TOKEN}@}" git remote add origin "$GITEA_PUSH_URL/$GITEA_ORG/$APP_ID.git"