From 8ce4e89f6a3d1179d72d915086ddaeb7ce705aa7 Mon Sep 17 00:00:00 2001 From: dcorral Date: Thu, 6 Nov 2025 16:44:04 +0100 Subject: [PATCH] Add docker deploy --- .gitea/workflows/deploy.yml | 9 +++++++++ 1 file changed, 9 insertions(+) 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 + "