From c6db714724935c7805b642f2e4b0dd2153c4ec41 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 fa7c2d0d3..3a8bf5ba6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -3,6 +3,7 @@ on: push: branches: - main + - "v*.*" tags: - "v*.*.*" jobs: @@ -57,6 +58,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