Skip to content

Commit 91bc1ab

Browse files
committed
ci: renaming and removing defaults
1 parent 6e64ffc commit 91bc1ab

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

.github/workflows/generate.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
- cron: "37 */2 * * *" # this is UTC
66
push:
77
branches:
8-
- "main"
8+
- main
99
paths:
1010
- "src/**"
1111
- "go.mod"
@@ -67,4 +67,4 @@ jobs:
6767
- name: Dispatch GitHub Pages deployment
6868
uses: peter-evans/repository-dispatch@v3
6969
with:
70-
event-type: github-pages
70+
event-type: tibiadata-api-assets-deploy

.github/workflows/github-pages.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ name: GitHub Pages deployment
33
on:
44
push:
55
branches:
6-
- "main"
6+
- main
77
paths:
88
- "docs/**"
99
repository_dispatch:
10-
types: [github-pages]
10+
types:
11+
- tibiadata-api-assets-deploy
1112
workflow_dispatch:
1213

1314
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
@@ -20,10 +21,6 @@ concurrency:
2021
group: "pages"
2122
cancel-in-progress: false
2223

23-
defaults:
24-
run:
25-
shell: bash
26-
2724
jobs:
2825
build:
2926
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)