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
Some checks failed
Build Docker Image / Build Docker Image (push) Has been cancelled
This commit is contained in:
@@ -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"}'
|
||||
Reference in New Issue
Block a user