Skip to content

Commit

Permalink
update workflow triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsmechtel committed Feb 10, 2025
1 parent b895faa commit a092809
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ name: Build and Publish Docker Image
on:
push:
branches:
- main # Trigger the workflow on pushes to the main branch
- main
paths:
- '.github/workflows/docker-publish.yml'
- 'bioimageio_colab/**'
- 'data/**'
- 'scripts/**'
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ name: Deploy GitHub Pages

on:
push:
paths:
- 'docs/**' # Only trigger when files in docs/ change
branches:
- main # Ensure it runs only on the main branch
- main
paths:
- '.github/workflows/pages.yml'
- 'docs/**'

jobs:
deploy:
Expand Down

0 comments on commit a092809

Please sign in to comment.