From dbe3d0eec9489211ebdc53eefa228c335d5d3e87 Mon Sep 17 00:00:00 2001 From: Aseer KT Date: Fri, 9 Aug 2024 21:00:05 +0530 Subject: [PATCH] fix: static file move in cd --- .github/workflows/ec2-cd.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ec2-cd.yml b/.github/workflows/ec2-cd.yml index b0ea36c..da5d08c 100644 --- a/.github/workflows/ec2-cd.yml +++ b/.github/workflows/ec2-cd.yml @@ -56,7 +56,8 @@ jobs: - name: Move static files run: | - sudo mv web/dist server/ + sudo rm -rf server/web/dist + sudo mv web/dist/* server/web/dist rm -rf server/src - name: Restart application