Skip to content

Commit 72b1689

Browse files
authored
Merge pull request #30 from petrsvihlik/feature/fix-lighthouse-trigger
Fix Lighthouse workflow trigger
2 parents b001b45 + fe025ed commit 72b1689

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/lighthouse.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
name: Lighthouse
22

33
on:
4-
push:
5-
branches: [ gh-pages ]
4+
workflow_run:
5+
workflows: [".NET Core"]
6+
types: [completed]
7+
branches: [master]
68

79
jobs:
810
lighthouse:
11+
# Only run when the deploy workflow succeeded
12+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
913
runs-on: ubuntu-latest
1014

1115
steps:

0 commit comments

Comments
 (0)