mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 23:54:18 +02:00
enh(delivery): no deliver source and promote on dispatch (#4771)
This commit is contained in:
parent
e131086ffe
commit
16c91bf3d2
8
.github/workflows/plugin-delivery.yml
vendored
8
.github/workflows/plugin-delivery.yml
vendored
@ -24,7 +24,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
deliver-sources:
|
deliver-sources:
|
||||||
runs-on: [self-hosted, common]
|
runs-on: [self-hosted, common]
|
||||||
if: ${{ contains(fromJson('["stable"]'), inputs.stability) }}
|
if: ${{ contains(fromJson('["stable"]'), inputs.stability) && github.event_name != 'workflow_dispatch' }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout sources
|
- name: Checkout sources
|
||||||
@ -47,6 +47,7 @@ jobs:
|
|||||||
token_download_centreon_com: ${{ secrets.token_download_centreon_com }}
|
token_download_centreon_com: ${{ secrets.token_download_centreon_com }}
|
||||||
|
|
||||||
deliver-rpm:
|
deliver-rpm:
|
||||||
|
if: ${{ github.event_name != 'workflow_dispatch' }}
|
||||||
runs-on: [self-hosted, common]
|
runs-on: [self-hosted, common]
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
@ -67,7 +68,7 @@ jobs:
|
|||||||
artifactory_token: ${{ secrets.artifactory_token }}
|
artifactory_token: ${{ secrets.artifactory_token }}
|
||||||
|
|
||||||
deliver-rpm-legacy:
|
deliver-rpm-legacy:
|
||||||
if: ${{ inputs.stability == 'stable' }}
|
if: ${{ inputs.stability == 'stable' && github.event_name != 'workflow_dispatch' }}
|
||||||
runs-on: [self-hosted, common]
|
runs-on: [self-hosted, common]
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
@ -90,6 +91,7 @@ jobs:
|
|||||||
artifactory_token: ${{ secrets.artifactory_token }}
|
artifactory_token: ${{ secrets.artifactory_token }}
|
||||||
|
|
||||||
deliver-deb:
|
deliver-deb:
|
||||||
|
if: ${{ github.event_name != 'workflow_dispatch' }}
|
||||||
runs-on: [self-hosted, common]
|
runs-on: [self-hosted, common]
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
@ -110,7 +112,7 @@ jobs:
|
|||||||
artifactory_token: ${{ secrets.artifactory_token }}
|
artifactory_token: ${{ secrets.artifactory_token }}
|
||||||
|
|
||||||
deliver-deb-legacy:
|
deliver-deb-legacy:
|
||||||
if: ${{ inputs.stability == 'stable' }}
|
if: ${{ inputs.stability == 'stable' && github.event_name != 'workflow_dispatch' }}
|
||||||
runs-on: [self-hosted, common]
|
runs-on: [self-hosted, common]
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user