From 3a73ec76d91b24ce2bfdc7eccb38a268757edff9 Mon Sep 17 00:00:00 2001 From: DrInTech Date: Mon, 16 Dec 2024 04:21:57 +0100 Subject: [PATCH] fix: workflow config error --- .github/workflows/cd-backend.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cd-backend.yml b/.github/workflows/cd-backend.yml index 82b41bd..37c8b9d 100644 --- a/.github/workflows/cd-backend.yml +++ b/.github/workflows/cd-backend.yml @@ -68,7 +68,7 @@ jobs: host: ${{ env.PUBLIC_IP }} username: ${{ vars.EC2_USER }} key: ${{ secrets.PRIVATE_KEY }} - source: "backend.env, POSTGRES_PASSWORD.txt, compose.yml" + source: "backend.env, frontend.env, POSTGRES_PASSWORD.txt, compose.yml" target: "~/" - name: Use SSH Action @@ -79,6 +79,6 @@ jobs: key: ${{ secrets.PRIVATE_KEY }} script: | sudo chown -R root:root /home/ubuntu/*.env - mv backend.env backend/.env - mv frontend.env frontend/.env + sudo mv backend.env backend/.env + sudo mv frontend.env frontend/.env docker compose up -d --no-deps --force-recreate backend db adminer \ No newline at end of file