From dda81457a1565e3cf61d7a5a50ef81b4c3bf7cc3 Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Sat, 8 Jul 2023 20:26:15 +0900 Subject: [PATCH] set concurrency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit デプロイ失敗を防ぐ目的 同じタイミングで複数のプロセスがdocker compose upを実行したとき次のようなエラーになる > Error response from daemon: Renaming a container with the same name as its current name --- .github/workflows/deploy.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ebdb240..e1a0c89 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,4 +1,5 @@ name: deploy +concurrency: fogtype.com on: push: branches: [main]