Skip to content

Commit

Permalink
also publish demo-* branches
Browse files Browse the repository at this point in the history
  • Loading branch information
lostbean committed Aug 13, 2024
1 parent a613468 commit 8345f21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Publish images
if: github.ref == env.MAIN_BRANCH
if: github.ref == env.MAIN_BRANCH || startsWith(github.ref, 'refs/heads/demo-')
run: |
# Set tag to be the branch name and version
nix develop --command tag-branch-version
Expand Down

0 comments on commit 8345f21

Please sign in to comment.