13 lines
505 B
Bash
13 lines
505 B
Bash
#!/bin/bash
|
|
git config --global credential.helper store
|
|
git config --global user.name ${GIT_USERNAME}
|
|
git config --global user.email ${GIT_EMAIL}
|
|
echo "https://${GIT_USERNAME}:${GIT_TOKEN}@${GIT_HOST}" > ~/.git-credentials
|
|
cd /home
|
|
git clone --single-branch --branch main/finetuning https://repo.pokash.pl/POKASH.PL/ably.do.git
|
|
python /app/${MODELNAME}.py
|
|
|
|
# Po zakończeniu głównego procesu, przejdź w tryb czuwania
|
|
echo "Główny proces zakończony. Przechodzę w tryb czuwania..."
|
|
tail -f /dev/null
|