260216:1527 4rd Deploy (Prepare CI/CD: Revise .gitea/workflow/deploy.yaml #4)
All checks were successful
Build and Deploy / deploy (push) Successful in 20s
All checks were successful
Build and Deploy / deploy (push) Successful in 20s
This commit is contained in:
@@ -41,9 +41,10 @@ jobs:
|
|||||||
--build-arg NEXT_PUBLIC_API_URL=https://backend.np-dms.work/api \
|
--build-arg NEXT_PUBLIC_API_URL=https://backend.np-dms.work/api \
|
||||||
-t lcbp3-frontend:latest .
|
-t lcbp3-frontend:latest .
|
||||||
|
|
||||||
# 4. Update Containers
|
# 4. Update Containers (stop เก่า แล้ว recreate ใหม่)
|
||||||
echo "🔄 Updating Containers..."
|
echo "🔄 Updating Containers..."
|
||||||
cd /share/np-dms/app
|
cd /share/np-dms/app
|
||||||
|
docker compose -f docker-compose-app.yml down
|
||||||
docker compose -f docker-compose-app.yml up -d
|
docker compose -f docker-compose-app.yml up -d
|
||||||
|
|
||||||
# 5. Cleanup
|
# 5. Cleanup
|
||||||
|
|||||||
Reference in New Issue
Block a user