File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,29 +24,15 @@ echo "
2424:.......::::......:::........::..:::::..::........::::.......::::::..:::::
2525"
2626
27- if [[ -n $HEROKU_API_KEY && -n $HEROKU_APP_NAME ]]; then
28- herokuErr=$( python ./.github/herokugiturl.py)
29- if [[ " $herokuErr " ]]; then
30- echo " $herokuErr "
31- else
32- HEROKU_GIT_URL=" https://api:$HEROKU_API_KEY @git.heroku.com/$HEROKU_APP_NAME .git"
33- fi
34- fi
3527
3628FILE=/app/.git
3729
3830if [ -d " $FILE " ] ; then
3931 echo " $FILE directory exists already."
4032else
41- if [[ " $HEROKU_GIT_URL " ]]; then
42- git clone " $HEROKU_GIT_URL " cat_ubh || git clone https://github.com/sandy1709/catuserbot cat_ubc
43- mv cat_ubh/.git . || mv cat_ubc/.git .
44- rm -rf cat_ubh || rm -rf cat_ubc
45- else
46- git clone https://github.com/sandy1709/catuserbot cat_ub
47- mv cat_ub/.git .
48- rm -rf cat_ub
49- fi
33+ git clone -b main https://github.com/sandy1709/catuserbot cat_ub
34+ mv cat_ub/.git .
35+ rm -rf cat_ub
5036fi
5137
5238python -m userbot
You can’t perform that action at this time.
0 commit comments