Skip to content

Commit ce312b6

Browse files
committed
ci: add repository_dispatch to github-pages ci
1 parent 0b10c68 commit ce312b6

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/github-pages.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@ name: GitHub Pages deployment
33
on:
44
push:
55
branches:
6-
- "main"
6+
- main
77
paths:
88
- "docs/**"
9+
repository_dispatch:
10+
types:
11+
- tibiadata-api-docs-deploy
912
workflow_dispatch:
1013

1114
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
@@ -18,10 +21,6 @@ concurrency:
1821
group: "pages"
1922
cancel-in-progress: false
2023

21-
defaults:
22-
run:
23-
shell: bash
24-
2524
jobs:
2625
build:
2726
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)