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:
|
||||
if: >-
|
||||
${{ (github.event_name == 'workflow_run'
|
||||
&& github.event.workflow_run.conclusion == 'success'
|
||||
&& github.event.workflow_run.event == 'push'
|
||||
&& github.event.workflow_run.head_branch == 'main'
|
||||
&& github.event.workflow_run.head_repository.full_name == github.repository)
|
||||
|| (github.event_name == 'push'
|
||||
&& github.ref == 'refs/heads/main') }}
|
||||
${{ (github.event_name == 'push'
|
||||
&& github.ref == 'refs/heads/main')
|
||||
|| (github.event_name == 'workflow_run'
|
||||
&& github.event.workflow_run.conclusion == 'success') }}
|
||||
needs: build
|
||||
runs-on: [self-hosted, linux, x64]
|
||||
|
||||
|
||||
Reference in new issue
Block a user