We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7189f0 commit 7620f22Copy full SHA for 7620f22
.github/workflows/stage.yml
@@ -1,13 +1,18 @@
1
---
2
name: Staging deployment
3
on:
4
- # Trigger the workflow on each push to develop
5
- push:
6
- branches:
7
- - develop
+ workflow_dispatch:
+ inputs:
+ clean:
+ description: 'Clean cache'
8
+ required: true
9
+ default: 'yes'
10
+ excludeSubfolder:
11
+ description: 'Exclude subfolder'
12
+ required: false
13
+ default: ''
14
jobs:
15
set-state:
- if: ${{ github.ref == 'refs/heads/develop' }}
16
runs-on: ubuntu-latest
17
outputs:
18
clean_cache: ${{ contains(github.event.inputs.clean, 'yes') }}
0 commit comments