Skip to content

Commit

Permalink
ci: renaming and removing defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasehlert committed Dec 10, 2024
1 parent 6e64ffc commit 91bc1ab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- cron: "37 */2 * * *" # this is UTC
push:
branches:
- "main"
- main
paths:
- "src/**"
- "go.mod"
Expand Down Expand Up @@ -67,4 +67,4 @@ jobs:
- name: Dispatch GitHub Pages deployment
uses: peter-evans/repository-dispatch@v3
with:
event-type: github-pages
event-type: tibiadata-api-assets-deploy
9 changes: 3 additions & 6 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ name: GitHub Pages deployment
on:
push:
branches:
- "main"
- main
paths:
- "docs/**"
repository_dispatch:
types: [github-pages]
types:
- tibiadata-api-assets-deploy
workflow_dispatch:

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

defaults:
run:
shell: bash

jobs:
build:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 91bc1ab

Please sign in to comment.