chore: 部署腳本新增權限修正指令並明確設定 WWWGROUP/WWWUSER
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 1m15s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped

This commit is contained in:
2026-01-09 15:16:49 +08:00
parent 94ed375fe5
commit 5b7b64903b

View File

@@ -44,7 +44,8 @@ jobs:
- name: Deploy to 103 Demo
run: |
cd /koori-erp/
docker compose up -d --build --wait
chown -R 1000:1000 .
WWWGROUP=1000 WWWUSER=1000 docker compose up -d --build --wait
# docker exec koori-erp-laravel chown -R 1000:1000 /var/www/html
# docker exec -u 1000:1000 -w /var/www/html koori-erp-laravel sh -c "composer install && npm install && npm run build && php artisan migrate --force && php artisan optimize:clear"