ci(CICD): simplify CICD install trigger for wallpaper_changer
This commit is contained in:
1 parent
58d03c3ce2
commit
5f0de3e4cf
1 file changed
+4
-7
@@ -119,13 +119,10 @@ jobs:
|
|||||||
|
|
||||||
install:
|
install:
|
||||||
if: >-
|
if: >-
|
||||||
${{ (github.event_name == 'workflow_run'
|
${{ (github.event_name == 'push'
|
||||||
&& github.event.workflow_run.conclusion == 'success'
|
&& github.ref == 'refs/heads/main')
|
||||||
&& github.event.workflow_run.event == 'push'
|
|| (github.event_name == 'workflow_run'
|
||||||
&& github.event.workflow_run.head_branch == 'main'
|
&& github.event.workflow_run.conclusion == 'success') }}
|
||||||
&& github.event.workflow_run.head_repository.full_name == github.repository)
|
|
||||||
|| (github.event_name == 'push'
|
|
||||||
&& github.ref == 'refs/heads/main') }}
|
|
||||||
needs: build
|
needs: build
|
||||||
runs-on: [self-hosted, linux, x64]
|
runs-on: [self-hosted, linux, x64]
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user