Skip to content

Commit 59bcc99

Browse files
committed
Build assets on CI on versioned branches
1 parent e8a9028 commit 59bcc99

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
push:
44
branches:
55
- main
6+
- "v*.*"
67
tags:
78
- "v*.*.*"
89
jobs:
@@ -57,6 +58,7 @@ jobs:
5758
commit_message: Update assets
5859
file_pattern: static
5960
docker:
61+
if: github.ref_type == 'tag' || github.ref == 'refs/heads/main'
6062
# The assets job may push new commit, so we wait for it
6163
needs: [assets]
6264
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)