ci add --base
Main daploy / deploy (push) Successful in 49s

This commit is contained in:
2024-11-26 21:25:24 +02:00
parent 62decae014
commit aac8a5ee69
2 changed files with 2 additions and 7 deletions
+1 -1
View File
@@ -23,5 +23,5 @@ jobs:
- name: Clean install dependencies and build
run: |
npm ci
npm run build-only --workspace=apps/frontend -- --emptyOutDir --outDir /www/hereconnect.condev.ru/build-${{env.GITHUB_SHA}}/
npm run build-only --workspace=apps/frontend -- --emptyOutDir --base $BASE_URL --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