Skip to content

Commit c46b68a

Browse files
Merge pull request #283 from AdobeDocs/update-staging-workflow
feat: change trigger to workflow dispatch for staging deployment
2 parents c7189f0 + 7620f22 commit c46b68a

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/stage.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
---
22
name: Staging deployment
33
on:
4-
# Trigger the workflow on each push to develop
5-
push:
6-
branches:
7-
- develop
4+
workflow_dispatch:
5+
inputs:
6+
clean:
7+
description: 'Clean cache'
8+
required: true
9+
default: 'yes'
10+
excludeSubfolder:
11+
description: 'Exclude subfolder'
12+
required: false
13+
default: ''
814
jobs:
915
set-state:
10-
if: ${{ github.ref == 'refs/heads/develop' }}
1116
runs-on: ubuntu-latest
1217
outputs:
1318
clean_cache: ${{ contains(github.event.inputs.clean, 'yes') }}

0 commit comments

Comments
 (0)