File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 3434 cd Docs-Template-Repo-Preview && git pull && cd .. && cp -rfp ./Docs-Template-Repo-Preview/* ./DWTDoc/
3535 cd DWTDoc && bundle exec jekyll build
3636 python3 /home/ubuntu/ftp.py /home/ubuntu/DWTDoc/_site/ ./www.dynamsoft.com/web-twain/docs/ prod
37+
38+ - name : Sync files
39+ uses : SamKirkland/FTP-Deploy-Action@4.3.0
40+ with :
41+ server : ${{ secrets.FTP_DYNAMSOFT_LOCAL_SERVER }}
42+ username : ${{ secrets.FTP_DYNAMSOFT_LOCAL_USER }}
43+ password : ${{ secrets.FTP_DYNAMSOFT_LOCAL_PASSWORD }}
44+ port : 21
45+ local-dir : /home/ubuntu/DWTDoc/_site/
46+ server-dir : /www.dynamsoft.com/web-twain/docs/core/
3747
3848 Build-Preview :
3949 if : ${{ github.ref == 'refs/heads/preview' }}
Original file line number Diff line number Diff line change 3838 cd DWTDoc && bundle exec jekyll build --incremental
3939 python3 /home/ubuntu/ftp.py /home/ubuntu/DWTDoc/_site/ ./www.dynamsoft.com/web-twain/docs/ prod
4040
41+ - name : Sync files
42+ uses : SamKirkland/FTP-Deploy-Action@4.3.0
43+ with :
44+ server : ${{ secrets.FTP_DYNAMSOFT_LOCAL_SERVER }}
45+ username : ${{ secrets.FTP_DYNAMSOFT_LOCAL_USER }}
46+ password : ${{ secrets.FTP_DYNAMSOFT_LOCAL_PASSWORD }}
47+ port : 21
48+ local-dir : /home/ubuntu/DWTDoc/_site/
49+ server-dir : /www.dynamsoft.com/web-twain/docs/core/
50+
4151 Build-Preview :
4252 if : ${{ github.ref == 'refs/heads/preview' }}
4353 # The type of runner that the job will run on
You can’t perform that action at this time.
0 commit comments