Skip to content

Commit 2fc64db

Browse files
invalidate cache
1 parent e613803 commit 2fc64db

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ jobs:
4646
port: 21
4747
local-dir: /home/ubuntu/DCVDocJS/_site/
4848
server-dir: /www.dynamsoft.com/capture-vision/docs/web/
49+
50+
- name: Trigger Webhook
51+
run: |
52+
curl -X POST -H "${{ secrets.WEBHOOK_USER }}" -H "${{ secrets.WEBHOOK_TOKEN }}" -H "Content-Type: application/json" -d "[\"/capture-vision/docs/web/*\"]" ${{ secrets.WEBHOOK_URL }}
53+
4954
5055
Build-Preview:
5156
if: ${{ github.ref == 'refs/heads/preview' }}
@@ -78,4 +83,4 @@ jobs:
7883
password: ${{ secrets.FTP_TEST_SITE_PASSWORD }}
7984
port: 7500
8085
local-dir: /home/ubuntu/DCVDocJS-preview/_site/
81-
server-dir: /www.dynamsoft.com/capture-vision/docs/web/
86+
server-dir: /www.dynamsoft.com/capture-vision/docs/web/

0 commit comments

Comments
 (0)