From 2a313e66d682344c05fc6df253feacadd9724668 Mon Sep 17 00:00:00 2001 From: koneko <67551503+koneko@users.noreply.github.com> Date: Wed, 27 Aug 2025 18:33:18 +0200 Subject: [PATCH] a --- .gitea/workflows/deploy.yml | 8 ++++---- containers-build.sh | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 containers-build.sh diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 9f0b6bc..4bba349 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -15,8 +15,8 @@ jobs: - name: Checkout code uses: actions/checkout@v3 - - name: Stop containers - run: docker compose down + - name: Build containers + run: bash ./containers-build.sh - - name: Deploy containers - run: docker compose up -d + - name: Restart containers + run: docker compose up -d --force-recreate diff --git a/containers-build.sh b/containers-build.sh new file mode 100644 index 0000000..80b4199 --- /dev/null +++ b/containers-build.sh @@ -0,0 +1,4 @@ +#!/bin/bash +docker build -t dd-multitool-bot:latest ./bot +docker build -t dd-multitool-api:latest ./api +docker build -t dd-multitool-web:latest ./web \ No newline at end of file