From ed9a19bf047ef7e81f503fbff76f6df4f1e142b5 Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Wed, 19 Apr 2023 19:23:20 +0900 Subject: [PATCH] use name on compose.yml --- .github/workflows/deploy.yml | 2 +- compose.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2043d54..ebdb240 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -8,4 +8,4 @@ jobs: steps: - run: install -m 700 -d ~/.ssh - run: install -m 600 <(echo '${{ secrets.DEPLOY_KEY }}') ~/.ssh/deploy_key - - run: ssh -i ~/.ssh/deploy_key -o 'StrictHostKeyChecking no' kou029w@fogtype.com 'sh -c "cd ~/fogtype.com && git pull --rebase && docker compose --project-name=keiunet up --detach --remove-orphans"' + - run: ssh -i ~/.ssh/deploy_key -o 'StrictHostKeyChecking no' kou029w@fogtype.com 'sh -c "cd ~/fogtype.com && git pull --rebase && docker compose up --detach --remove-orphans"' diff --git a/compose.yml b/compose.yml index f1fb1c1..04c85b8 100644 --- a/compose.yml +++ b/compose.yml @@ -1,3 +1,4 @@ +name: keiunet services: https: image: caddy:2.6.4-alpine@sha256:eefd3d61e9ee8f35e046f614982d9a970006e3943c6e5f09957a4048f4c80d35