Skip to content

Commit 874ead7

Browse files
committed
chore(ci): Web deploy trigger
1 parent 74c63aa commit 874ead7

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/web_validator.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ on:
88
branches: [master, main]
99
release:
1010
types: [published]
11+
workflow_dispatch:
12+
inputs:
13+
deploy:
14+
description: Deploy to github-pages
15+
required: false
16+
type: boolean
17+
1118

1219
concurrency:
1320
group: ${{ github.workflow }}-${{ github.ref }}
@@ -33,7 +40,7 @@ jobs:
3340
deploy:
3441
name: Deploy web validator
3542
needs: build
36-
if: github.event_name == 'release' && github.event.action == 'published'
43+
if: github.event_name == 'release' || inputs.deploy
3744
permissions:
3845
contents: read
3946
pages: write

0 commit comments

Comments
 (0)