Skip to content

Commit 25be6fd

Browse files
committed
Deploy new demo only on release
1 parent b017eb8 commit 25be6fd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/deploy.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
name: Deploy
22
on:
33
push:
4-
branches:
5-
- main
4+
tags:
5+
- '*'
66
permissions:
77
contents: write
88
jobs:
99
deploy:
1010
name: Demo Deploy
11+
if: startsWith(github.ref, 'refs/tags/')
1112
runs-on: ubuntu-latest
1213
steps:
1314
- name: Checkout the repository

0 commit comments

Comments
 (0)