From 238216a08c530c4f524a1d0c122b3ca85b2d8589 Mon Sep 17 00:00:00 2001 From: Vasilii Mikhailovskii Date: Thu, 7 Nov 2024 14:10:45 +0200 Subject: [PATCH] update ci --- .gitea/workflows/deploy.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 638ed7c..c76a8df 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -21,5 +21,6 @@ jobs: - name: Clean install dependencies and build run: | npm ci - npm 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 + npm run build-only -- --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