From a7d1ff7337e76f61822ebf7c5f72b36bf18479b6 Mon Sep 17 00:00:00 2001 From: Vasilii Mikhailovskii Date: Mon, 2 Dec 2024 10:43:06 +0200 Subject: [PATCH] fix ci/cd --- .gitea/workflows/deploy.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index ae24a64..18249e1 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -6,6 +6,7 @@ on: - main paths: - 'apps/frontend/**' + - '.gitea/workflows/deploy.yaml' jobs: deploy: @@ -23,7 +24,7 @@ jobs: - name: Clean install dependencies and build run: | corepack enable - pnpm deploy --filter frontend --frozen-lockfile build/frontend + pnpm deploy --filter apps/frontend --frozen-lockfile build/frontend cd build/frontend pnpm run build-only --emptyOutDir --outDir /www/hereconnect.condev.ru/build-${{env.GITHUB_SHA}}/ mv /www/hereconnect.condev.ru/current /www/hereconnect.condev.ru/old && mv /www/hereconnect.condev.ru/build-${{env.GITHUB_SHA}} /www/hereconnect.condev.ru/current && rm -rf /www/hereconnect.condev.ru/old