Build assets on CI on versioned branches

This commit is contained in:
Jonatan Kłosko 2023-07-14 13:28:10 +02:00
parent 4d801a2bb8
commit f901f9c7a1

View file

@ -3,6 +3,7 @@ on:
push:
branches:
- main
- "v*.*"
tags:
- "v*.*.*"
env:
@ -56,6 +57,7 @@ jobs:
commit_message: Update assets
file_pattern: static
docker:
if: github.ref_type == 'tag' || github.ref == 'refs/heads/main'
# The assets job may push new commit, so we wait for it
needs: [assets]
runs-on: ubuntu-latest