Обновить .gitea/workflows/build.yml
Some checks failed
Build and Test Application / deploy (push) Failing after 6s
Build and Test Application / build (push) Successful in 13s

This commit is contained in:
mt77 2025-05-12 04:53:00 +05:00
parent d42871a6a5
commit 55ad74d50d

View File

@ -46,7 +46,11 @@ jobs:
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: |
docker login -u ${{ secrets.GIT_USERNAME }} -p ${{ secrets.GIT_TOKEN }} ${{ vars.GIT_INSTANCE }}
sudo -s ${{ secrets.SSH_PASS }}
set timeout -1
spawn sudo -s
expect "Password:"
send "${{ secrets.SSH_PASS }}\r"
interact
docker pull ${{ vars.GIT_INSTANCE }}/mt77/monitor:latest
docker stop monitor || true
docker rm monitor || true