diff options
author | 2024-08-11 13:34:24 -0700 | |
---|---|---|
committer | 2024-08-11 13:34:24 -0700 | |
commit | 44eb7aba6a10964cbfcc9735e1a7a0e6d959ba87 (patch) | |
tree | 205486bbeb82e4889a27959167192d2ff3bca58b /.github/workflows/docker.yaml | |
parent | 7758d903c27f5cdaadaa24f8ed1965b7a6590df8 (diff) | |
download | ibd-trader-44eb7aba6a10964cbfcc9735e1a7a0e6d959ba87.tar.gz ibd-trader-44eb7aba6a10964cbfcc9735e1a7a0e6d959ba87.tar.zst ibd-trader-44eb7aba6a10964cbfcc9735e1a7a0e6d959ba87.zip |
Restrict actions to run only on path changes
Diffstat (limited to '.github/workflows/docker.yaml')
-rw-r--r-- | .github/workflows/docker.yaml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index 6249b83..b60399e 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -5,10 +5,12 @@ on: # - cron: '45 13 * * *' push: branches: [ "main" ] + paths: [ backend/**/* ] # Publish semver tags as releases. tags: [ 'v*.*.*' ] pull_request: branches: [ "main" ] + paths: [ backend/**/* ] env: # Use docker.io for Docker Hub if empty |