Merge branch 'main' of https://git.devjun.net/AX-HUB/dap-was-dapmt
All checks were successful
Deploy Tools / deploy (push) Successful in 3m56s

This commit is contained in:
jade
2026-08-18 18:11:31 +09:00
2 changed files with 13 additions and 2 deletions

View File

@@ -0,0 +1,11 @@
name: Deploy Tools
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu
steps:
- name: Run deploy script
run: /home/ubuntu/apps/prd-dap-tools/deploy.sh

View File

@@ -4,12 +4,12 @@ APP_DIR="/home/ubuntu/apps/dap-mcp"
# 1. Update and Build Gateway (dapms) # 1. Update and Build Gateway (dapms)
cd $APP_DIR/dap-was-dapms cd $APP_DIR/dap-was-dapms
git pull git reset --hard HEAD && git pull
docker run --rm -v $(pwd):/app -w /app eclipse-temurin:21-jdk-alpine sh -c "chmod +x gradlew && ./gradlew clean build -x test" docker run --rm -v $(pwd):/app -w /app eclipse-temurin:21-jdk-alpine sh -c "chmod +x gradlew && ./gradlew clean build -x test"
# 2. Update and Build Tools (dapmt) # 2. Update and Build Tools (dapmt)
cd $APP_DIR/dap-was-dapmt cd $APP_DIR/dap-was-dapmt
git pull git reset --hard HEAD && git pull
docker run --rm -v $(pwd):/app -w /app eclipse-temurin:21-jdk-alpine sh -c "chmod +x gradlew && ./gradlew clean build -x test" docker run --rm -v $(pwd):/app -w /app eclipse-temurin:21-jdk-alpine sh -c "chmod +x gradlew && ./gradlew clean build -x test"
# 3. Deploy # 3. Deploy