Update app_build.yml

This commit is contained in:
9 Technology Group LTD
2025-10-03 23:26:46 +01:00
committed by GitHub
parent 5c2bacb322
commit f7b73ba280

View File

@@ -1,11 +1,9 @@
name: Build on Merge
on:
push:
branches:
- main
- dev
jobs:
deploy:
runs-on: self-hosted
@@ -15,3 +13,11 @@ jobs:
- name: Run rebuild script
run: /root/patchmon/platform/scripts/app_build.sh ${{ github.ref_name }}
rebuild-pmon:
runs-on: self-hosted
needs: deploy
if: github.ref_name == 'dev'
steps:
- name: Rebuild pmon
run: /root/patchmon/platform/scripts/manage_pmon_auto.sh