Skip to content

Commit f9ec12f

Browse files
committed
fix: demo.dynamsoft.com deploy workflow
1 parent 9c20af3 commit f9ec12f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
3838
# Copy the samples folder and rename demo.html to index.html
3939
cp -r /home/ubuntu/document-scanner-javascript/samples/* /home/ubuntu/document-scanner-javascript/demo
40-
mv /home/ubuntu/deployment/samples/demo.html /home/ubuntu/deployment/samples/index.html
40+
mv /home/ubuntu/document-scanner-javascript/demo/demo.html /home/ubuntu/document-scanner-javascript/demo/index.html
4141
4242
4343
- name: Sync files
@@ -47,5 +47,5 @@ jobs:
4747
username: ${{ secrets.FTP_DEMO_USERNAME }}
4848
password: ${{ secrets.FTP_DEMO_PASSWORD }}
4949
port: 21
50-
local-dir: /home/ubuntu/document-scanner-javascript/demo
50+
local-dir: /home/ubuntu/document-scanner-javascript/demo/
5151
server-dir: /Demo.dynamsoft.com/document-scanner/

0 commit comments

Comments
 (0)