Skip to content

Commit 9582e60

Browse files
committed
chore(ops): switch to tag based deploy
1 parent 0957f3b commit 9582e60

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/deploy-frontend.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
name: Deploy to GitHub Pages
1+
name:
2+
Deploy to GitHub Pages
23

3-
on:
4-
# Trigger the workflow every time you push to the `main` branch
4+
# Trigger the workflow every time you push a tag
55
# Using a different branch name? Replace `main` with your branch’s name
6+
on:
67
push:
7-
branches: [dev]
8+
tags: v[0-9]+.[0-9]+.[0-9]+
89
# Allows you to run this workflow manually from the Actions tab on GitHub.
910
# eslint-disable-next-line yml/no-empty-mapping-value
1011
workflow_dispatch:

0 commit comments

Comments
 (0)