try fixing workflow 6
Some checks failed
Gitea Docker Redeploy / Redploy-App-on-self-via-SSH (push) Failing after 3s
Some checks failed
Gitea Docker Redeploy / Redploy-App-on-self-via-SSH (push) Failing after 3s
This commit is contained in:
parent
3c007a7008
commit
812371a9e0
@ -16,17 +16,15 @@ jobs:
|
|||||||
script_stop: true
|
script_stop: true
|
||||||
#requires stored git password: git config credential.helper store
|
#requires stored git password: git config credential.helper store
|
||||||
script: |
|
script: |
|
||||||
cd Ollama-Bot/deployment;
|
cd Ollama-Bot/deployment
|
||||||
docker-compose down;
|
docker-compose down
|
||||||
git pull;
|
git pull
|
||||||
echo "============ Git pull finished! =========";
|
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! ========="
|
echo "============ Env creation finished! ========="
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user