Skip to content

Commit

Permalink
ci(workflows): add path ignore rules and workflow_dispatch trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
NekoAria committed Sep 5, 2024
1 parent c2bfab6 commit 3e1cf96
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/deploy-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ on:
push:
branches:
- main
paths-ignore:
- '.github/**'
- '.husky/**'
- '.editorconfig'
- '.gitignore'
- 'biome.json'
- 'README*.md'

workflow_dispatch:


jobs:
build-and-push:
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/deploy-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@ on:
push:
branches:
- main
paths-ignore:
- '.github/**'
- '.husky/**'
- '.editorconfig'
- '.gitignore'
- 'biome.json'
- 'Caddyfile'
- 'Dockerfile'
- 'README*.md'

workflow_dispatch:

permissions:
contents: write
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/dockerhub-description.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
paths:
- README.md
- .github/workflows/dockerhub-description.yml

workflow_dispatch:

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

0 comments on commit 3e1cf96

Please sign in to comment.