mirror of
https://github.com/9technologygroup/patchmon.net.git
synced 2025-10-25 09:03:40 +00:00
Update app_build.yml
This commit is contained in:
committed by
GitHub
parent
5c2bacb322
commit
f7b73ba280
10
.github/workflows/app_build.yml
vendored
10
.github/workflows/app_build.yml
vendored
@@ -1,11 +1,9 @@
|
|||||||
name: Build on Merge
|
name: Build on Merge
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
- dev
|
- dev
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
@@ -15,3 +13,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Run rebuild script
|
- name: Run rebuild script
|
||||||
run: /root/patchmon/platform/scripts/app_build.sh ${{ github.ref_name }}
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user