Skip to content

Commit 16cc6e2

Browse files
Create main.yml
1 parent 2ad964c commit 16cc6e2

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

.github/workflows/main.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: CI
4+
5+
# Controls when the workflow will run
6+
on:
7+
# Triggers the workflow on push or pull request events but only for the master branch
8+
push:
9+
branches: [ master ]
10+
11+
# Allows you to run this workflow manually from the Actions tab
12+
workflow_dispatch:
13+
14+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
15+
jobs:
16+
# This workflow contains a single job called "build"
17+
build:
18+
# The type of runner that the job will run on
19+
runs-on: ubuntu-latest
20+
21+
# Steps represent a sequence of tasks that will be executed as part of the job
22+
steps:
23+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
24+
- uses: actions/checkout@v2
25+
26+
- name: ftp-action
27+
# You may pin to the exact commit or the version.
28+
# uses: sebastianpopp/ftp-action@eb75c5cb29d23ee4a729720a27dfb66403cb0f6d
29+
uses: sebastianpopp/ftp-action@v2.0.0
30+
with:
31+
# FTP host
32+
host: demo.dynamsoft.com:2122
33+
# FTP user
34+
user: websitecontentmanage
35+
# FTP password
36+
password: ${{ secrets.FTP_PASSWORD }}
37+
# Force SSL encryption
38+
#forceSsl: # optional, default is false
39+
# Local directory
40+
localDir: $GITHUB_WORKSPACE/4.use-case
41+
# Remote directory
42+
remoteDir: /demo.dynamsoft.com/Samples/DBR/tmp/

0 commit comments

Comments
 (0)