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 4ffa11a commit 3b00a07Copy full SHA for 3b00a07
.github/workflows/main.yml
@@ -4,6 +4,12 @@ name: CI
4
on:
5
# Allows you to run this workflow manually from the Actions tab
6
workflow_dispatch:
7
+ inputs:
8
+ clean_slate:
9
+ description: 'Clean remote directory before upload'
10
+ required: false
11
+ default: false
12
+ type: boolean
13
14
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
15
jobs:
@@ -44,4 +50,5 @@ jobs:
44
50
password: ${{ secrets.FTP_DEMO_PASSWORD }}
45
51
port: 21
46
52
local-dir: /home/ubuntu/mrz-scanner-javascript/deploy/
47
- server-dir: /Demo.dynamsoft.com/mrz-scanner/
53
+ server-dir: /Demo.dynamsoft.com/mrz-scanner/
54
+ dangerous-clean-slate: ${{ github.event.inputs.clean_slate }}
0 commit comments