From f901f9c7a1a8d5367ebf67d375f185e10b13c71a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonatan=20K=C5=82osko?= Date: Fri, 14 Jul 2023 13:28:10 +0200 Subject: [PATCH] Build assets on CI on versioned branches --- .github/workflows/deploy.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b0c40fcc6..1db3b8d9c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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