Commit a5ab346 1 parent 62964bb commit a5ab346 Copy full SHA for a5ab346
File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 9
9
branches :
10
10
- main
11
11
- develop
12
+ workflow_dispatch : # Enables manual triggering
12
13
13
14
jobs :
14
15
deploy-to-production :
15
- if : github.ref == 'refs/heads/main'
16
+ if : github.ref == 'refs/heads/main' || github.event_name == 'workflow_dispatch'
16
17
runs-on : ubuntu-latest
17
18
steps :
18
19
- name : Deploy to production
@@ -23,12 +24,12 @@ jobs:
23
24
wait-for-success : true
24
25
25
26
deploy-to-develop :
26
- if : github.ref == 'refs/heads/develop'
27
+ if : github.ref == 'refs/heads/develop' || github.event_name == 'workflow_dispatch'
27
28
runs-on : ubuntu-latest
28
29
steps :
29
30
- name : Deploy to develop
30
31
uses :
johnbeynon/[email protected]
31
32
with :
32
33
service-id : ${{ secrets.STAGING_RENDER_SERVICE_ID }}
33
34
api-key : ${{ secrets.STAGING_RENDER_API_KEY }}
34
- wait-for-success : true
35
+ wait-for-success : true
You can’t perform that action at this time.
0 commit comments