diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index efce143..2fca012 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -36,4 +36,15 @@ jobs: strip_components: 1 rm: false debug: true - flatten: true \ No newline at end of file + flatten: true + - name: Restart Docker containers + uses: appleboy/ssh-action@v1.2.5 + with: + host: ${{ secrets.SFU_SSH_HOST }} + username: ${{ secrets.SFU_SSH_USER }} + password: ${{ secrets.SFU_SSH_PASSWORD }} + port: ${{ secrets.SFU_SSH_PORT }} + script: | + cd ${{ secrets.SFU_DEPLOY_PATH }} + docker-compose down + docker compose up -d --build