Skip to content

Commit da30b00

Browse files
deploy arbitrary branches to staging
1 parent a26f01d commit da30b00

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/gh-pages.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: GitHub Pages
22

33
on:
44
push:
5+
workflow_dispatch:
56

67
jobs:
78
# BUILD
@@ -70,7 +71,7 @@ jobs:
7071

7172
# DEPLOY STAGING
7273
deploy-staging:
73-
if: github.ref == 'refs/heads/develop'
74+
if: github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/develop'
7475
name: Deploy Staging to GitHub Pages
7576
runs-on: ubuntu-latest
7677
needs: [build]

0 commit comments

Comments
 (0)