Skip to content

Commit

Permalink
Build demo only when dev is updated
Browse files Browse the repository at this point in the history
  • Loading branch information
rigon committed Dec 10, 2024
1 parent df62eda commit af4206c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ jobs:
name: Demo docker image
needs: build
runs-on: ubuntu-latest
# Run only when it is a release build or updates in dev
if: (github.event_name == 'create' && startsWith(github.ref, 'refs/tags/v')) || github.ref == 'refs/heads/dev'
# Run only when dev is updated
if: github.ref == 'refs/heads/dev'

steps:
- name: Checkout
Expand Down

0 comments on commit af4206c

Please sign in to comment.