Skip to content

Commit eb4544b

Browse files
committed
feat(ci): trigger website rebuild when pages are deployed
1 parent c30a00c commit eb4544b

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Trigger website rebuild
2+
3+
on:
4+
workflow_dispatch:
5+
workflow_run:
6+
workflows: ["pages-build-deployment"]
7+
types: [completed]
8+
9+
jobs:
10+
trigger:
11+
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Trigger angular-buch-website rebuild
15+
run: gh workflow run build.yml --repo angular-buch/angular-buch-website
16+
env:
17+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)