Merge branch 'main' of http://10.9.0.0/ttc/micro-frontend
Some checks failed
Build Docker Image / Build Docker Image (push) Has been cancelled

This commit is contained in:
x2Skyz
2025-11-23 21:38:44 +07:00

View File

@@ -12,7 +12,7 @@ jobs:
run: |
# change mirror to kku.ac.th for faster package downloading
sudo sed -i 's@http://archive.ubuntu.com@http://mirror.kku.ac.th@g' /etc/apt/sources.list.d/ubuntu.sources
sudo apt update && sudo apt install nodejs npm -y
sudo apt update && sudo apt install nodejs npm curl -y
- name: Install project dependencies
run: |
cd accounting-ng-nuttakit
@@ -31,5 +31,10 @@ jobs:
set -e
docker image rm -f accounting-frontend:latest
docker build . -t accounting-frontend:latest
# restart compose
- name: Restart compose
run: |
curl -X POST http://10.9.0.0:3000/run \
-H "Content-Type: application/json" \
-H "X-SECRET: ${{ secrets.EXPRESS_SECRET }}" \
-d '{"command": "cd $HOME/frontend-development-kickstarter && ddd && ddud"}'