CI: move dist to app dir
Deploy / deploy (push) Failing after 10s

This commit is contained in:
2026-08-29 10:47:27 +05:00
parent 9f6a167d04
commit 1c7ff54fe2
2 changed files with 5 additions and 6 deletions
+3 -4
View File
@@ -15,11 +15,10 @@ jobs:
- name: Deploy to box
run: |
mkdir -p ~/apps/hub/dist
cp -r web/dist/* ~/apps/hub/dist/
mkdir -p ~/apps/hub/dist ~/apps/hub/scripts
cp bin/hub-api ~/apps/hub/hub-api
chmod +x ~/apps/hub/hub-api
cp config.yaml ~/apps/hub/config.yaml
cp -r scripts/* ~/apps/hub/scripts/
cp -r scripts/. ~/apps/hub/scripts/
cp -r web/dist/. ~/apps/hub/dist/
chmod +x ~/apps/hub/hub-api ~/apps/hub/scripts/*
systemctl --user restart hub-api