From a9f0a85ea39c467edc9b3611988afcb6796f7560 Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Sun, 29 May 2022 21:03:09 +0900 Subject: [PATCH] rename to compose.yml --- .github/workflows/deploy.yml | 2 +- docker-compose.yml => compose.yml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) rename docker-compose.yml => compose.yml (99%) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 634d18a..8bb362a 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@keiu.net 'sh -c "cd ~/keiu.net && git pull --rebase && docker-compose up -d"' + - run: ssh -i ~/.ssh/deploy_key -o 'StrictHostKeyChecking no' kou029w@keiu.net 'sh -c "cd ~/keiu.net && git pull --rebase && docker compose up -d"' diff --git a/docker-compose.yml b/compose.yml similarity index 99% rename from docker-compose.yml rename to compose.yml index 2ca4d49..1b9f565 100644 --- a/docker-compose.yml +++ b/compose.yml @@ -1,4 +1,3 @@ -version: "3" services: https: image: caddy:2.5.1-alpine@sha256:0033b34d2df3fe0bf94088c36e7d722ceca1b38cbdd49c08b2c10b9f9aa58912