Skip to content

Commit 9030149

Browse files
committed
Trigger pages workflow after perf
1 parent a4146b3 commit 9030149

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/main.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,8 @@ jobs:
3636
- mac
3737
- windows
3838
uses: ./.github/workflows/perf.yml
39+
40+
pages:
41+
needs:
42+
- perf
43+
uses: ./.github/workflows/pages.yml

.github/workflows/pages.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
name: Pages
22

33
on:
4-
workflow_run:
5-
workflows: ["Build application"]
6-
types:
7-
- completed
4+
workflow_call:
85
workflow_dispatch:
96

107
permissions:
@@ -117,8 +114,6 @@ jobs:
117114
with:
118115
name: cov-report
119116
path: ./coverage/
120-
github-token: ${{ secrets.GITHUB_TOKEN }}
121-
run-id: ${{ github.event.workflow_run.id }}
122117
- name: Upload artifact
123118
uses: actions/upload-pages-artifact@v3
124119
with:

0 commit comments

Comments
 (0)