Skip to content

Commit f595a69

Browse files
committed
ci: allow PR deployment on-demand
1 parent 5db2ced commit f595a69

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/pr-deployment.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
name: OpenEduHub - PR Deployment
22

33
on:
4+
workflow_dispatch:
45
pull_request_target:
56
types: [labeled]
67

78
jobs:
89
deploy:
9-
if: ${{ github.event.label.name == 'needs-rendering' }}
10+
if: ${{ github.event.label.name == 'needs-rendering' || github.event_name == 'workflow_dispatch' }}
1011
name: Deploy to GitHub Pages
1112
runs-on: ubuntu-latest
1213
permissions:

0 commit comments

Comments
 (0)