diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index cc48355..55fa246 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -31,3 +31,12 @@ jobs: git fetch origin && git reset --hard origin/master " + + - name: Restart docker container + run: | + # Pull latest on server + ssh ${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_SERVER }} " + cd ${{ secrets.DEPLOY_PATH }} && + docker compose down && + docker compose up --build -d + "