ci: update source path
Push -> develop / Build Docker images (push) Successful in 2m52s
Push -> develop / Deploy (push) Successful in 7s
Push -> develop / Notify on result (push) Successful in 0s

This commit is contained in:
sangnn
2026-06-23 02:44:17 +00:00
parent 8d2ce300a0
commit f58ec37b8a
5 changed files with 52 additions and 7 deletions
+4 -3
View File
@@ -51,7 +51,7 @@ jobs:
# ── 2. Deploy ─────────────────────────────────────────────────────────────────
deploy:
name: Rolling deploy
name: Deploy
runs-on: stage-gatehouse-api
needs: build
env:
@@ -60,10 +60,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Deploy (rolling restart)
- name: Deploy (docker compose up)
run: |
cp docker-compose.yml "${COMPOSE_DIR}/docker-compose.yml"
bash deploy/deploy.sh "${{ needs.build.outputs.tag }}"
cd "${COMPOSE_DIR}"
IMAGE_TAG="${{ needs.build.outputs.tag }}" docker compose up -d --remove-orphans
# ── 3. Alert ──────────────────────────────────────────────────────────────────
alert: