We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad80839 commit d72a820Copy full SHA for d72a820
.github/workflows/deploy-preview-reusable.yml
@@ -0,0 +1,16 @@
1
+on:
2
+ push:
3
+ branches:
4
+ - main # work off main branch
5
+ pull_request_target: # this workflow triggers either when there's a push to main OR when a PR is opened/updated
6
+ types: [opened, synchronize, reopened]
7
+ workflow_dispatch: # it also can be triggered manually, and in that case the destination will be required and called "manual_run"
8
+ inputs:
9
+ destination:
10
+ description: "Define destination base path"
11
+ required: true
12
+ default: "manual_run"
13
+
14
+jobs:
15
+ call-workflow:
16
+ uses: FujoWebDev/.github/.github/workflows/deploy-preview-static.yaml@main
0 commit comments