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