Skip to content

Commit

Permalink
Publish to edge only when on main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
jpm-canonical committed Oct 4, 2024
1 parent 2759d21 commit aaa9790
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/snap-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ jobs:

- name: Publish snap to edge
uses: snapcore/action-publish@v1
# if: github.ref == 'refs/heads/main'
if: github.ref == 'refs/heads/main'
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.STORE_LOGIN }}
with:
snap: ${{ steps.snapcraft.outputs.snap }}
release: latest/edge/test
release: latest/edge

0 comments on commit aaa9790

Please sign in to comment.