Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/full-site-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ jobs:
cp -rfp ./web-twain-docs/* ./DWTDoc/
cd Docs-Template-Repo-Preview && git pull && cd .. && cp -rfp ./Docs-Template-Repo-Preview/* ./DWTDoc/
cd DWTDoc && bundle exec jekyll build
python3 /home/ubuntu/ftp.py /home/ubuntu/DWTDoc/_site/ ./www.dynamsoft.com/web-twain/docs/ prod

- name: Sync files
uses: SamKirkland/FTP-Deploy-Action@4.3.0
Expand All @@ -43,7 +42,7 @@ jobs:
password: ${{ secrets.FTP_DYNAMSOFT_LOCAL_PASSWORD }}
port: 21
local-dir: /home/ubuntu/DWTDoc/_site/
server-dir: /www.dynamsoft.com/web-twain/docs/core/
server-dir: /www.dynamsoft.com/web-twain/docs/

Build-Preview:
if: ${{ github.ref == 'refs/heads/preview' }}
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ jobs:
cd web-twain-docs && git pull && cd .. && cp -rfp ./web-twain-docs/* ./DWTDoc/
cd Docs-Template-Repo-Preview && git pull && cd .. && cp -rfp ./Docs-Template-Repo-Preview/* ./DWTDoc/
cd DWTDoc && bundle exec jekyll build --incremental
python3 /home/ubuntu/ftp.py /home/ubuntu/DWTDoc/_site/ ./www.dynamsoft.com/web-twain/docs/ prod

- name: Sync files
uses: SamKirkland/FTP-Deploy-Action@4.3.0
Expand All @@ -46,7 +45,7 @@ jobs:
password: ${{ secrets.FTP_DYNAMSOFT_LOCAL_PASSWORD }}
port: 21
local-dir: /home/ubuntu/DWTDoc/_site/
server-dir: /www.dynamsoft.com/web-twain/docs/core/
server-dir: /www.dynamsoft.com/web-twain/docs/

Build-Preview:
if: ${{ github.ref == 'refs/heads/preview' }}
Expand Down