Skip to content

Commit

Permalink
chore: Deploy when using Github releases with tag
Browse files Browse the repository at this point in the history
  • Loading branch information
cballevre committed Sep 18, 2024
1 parent b716020 commit bd2e05e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
push:
branches:
- master
tags:
- '[0-9]+.[0-9]+.[0-9]+'
- '[0-9]+.[0-9]+.[0-9]+-beta.[0-9]+'

env:
MATTERMOST_CHANNEL: '{"dev":"papillon","beta":"papillon,publication","stable":"papillon,publication"}'
Expand Down Expand Up @@ -35,5 +38,5 @@ jobs:
with:
ssh-private-key: ${{ secrets.DOWNCLOUD_SSH_KEY }}
- name: Publish
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
run: yarn run cozyPublish --yes

0 comments on commit bd2e05e

Please sign in to comment.