try fixing workflow 6
Some checks failed
Gitea Docker Redeploy / Redploy-App-on-self-via-SSH (push) Failing after 3s

This commit is contained in:
Tobias Weise 2024-09-11 21:42:25 +02:00
parent 3c007a7008
commit 812371a9e0

View File

@ -16,17 +16,15 @@ jobs:
script_stop: true
#requires stored git password: git config credential.helper store
script: |
cd Ollama-Bot/deployment;
docker-compose down;
git pull;
echo "============ Git pull finished! =========";
cd Ollama-Bot/deployment
docker-compose down
git pull
echo "============ Git pull finished! ========="
echo '${{ secrets.ENV }}' > .env
echo '' > .env ;
echo '${{ vars.ENV }}' >> .env ;
echo '${{ secrets.CB_EMAIL_SMTP }}' >> .env ;
echo '${{ secrets.CB_EMAIL_ADDR }}' >> .env ;
echo '${{ secrets.CB_EMAIL_PWD }}' >> .env ;
echo "============ Env creation finished! ========="