File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -4,15 +4,14 @@ name: CI
44
55# Controls when the workflow will run
66on :
7- # Triggers the workflow on push or pull request events but only for the master branch
8-
97 # Allows you to run this workflow manually from the Actions tab
108 workflow_dispatch :
119
1210# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1311jobs :
14- # This workflow contains a single job called "build"
15- build :
12+ Build-Demo :
13+ if : ${{ github.ref == 'refs/heads/demo' }}
14+
1615 # The type of runner that the job will run on
1716 runs-on : self-hosted
1817
2625 git clone --depth 1 -b demo https://github.com/Dynamsoft/barcode-reader-javascript-samples.git
2726
2827 - name : Sync files
29- uses : SamKirkland/FTP-Deploy-Action@4.1 .0
28+ uses : SamKirkland/FTP-Deploy-Action@4.3 .0
3029 with :
3130 server : ${{ secrets.FTP_DEMO_SERVER }}
3231 username : ${{ secrets.FTP_DEMO_USERNAME }}
You can’t perform that action at this time.
0 commit comments