fix ci/cd
Main daploy / deploy (push) Failing after 8s

This commit is contained in:
2024-12-02 10:43:06 +02:00
parent 7da9764388
commit a7d1ff7337
+2 -1
View File
@@ -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