From 07880e3df614728db6bc896ab558aeb06e094a05 Mon Sep 17 00:00:00 2001 From: Aseer KT Date: Thu, 8 Aug 2024 21:50:18 +0530 Subject: [PATCH] feat: github cd via docker compose --- .github/workflows/cd.yml | 5 +++-- Makefile | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index a8ead2a..7ce4596 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -22,8 +22,9 @@ jobs: node-version: 20 cache: 'pnpm' - - name: Install deps - run: pnpm i + - name: Spin up the app + run: | + make deploy diff --git a/Makefile b/Makefile index 8d0c40a..8259d6a 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,2 @@ -build: - sudo docker compose -f docker-compose.prod.yml up --build -d \ No newline at end of file +deploy: + sudo docker compose -f docker-compose.prod.yml up --build -d \ No newline at end of file