Skip to content

Commit b3e629b

Browse files
Merge pull request #3 from dynamsoft-docs/preview
invalidate cache
2 parents 5dc73e1 + 9f5f0ba commit b3e629b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ jobs:
5555
local-dir: /home/ubuntu/DCPDocJS/_site/
5656
server-dir: /www.dynamsoft.com/code-parser/docs/web/
5757

58+
- name: Trigger Webhook
59+
run: |
60+
curl -X POST -H "${{ secrets.WEBHOOK_USER }}" -H "${{ secrets.WEBHOOK_TOKEN }}" -H "Content-Type: application/json" -d "[\"/code-parser/docs/web/*\"]" ${{ secrets.WEBHOOK_URL }}
61+
62+
5863
Build-Preview:
5964
if: ${{ github.ref == 'refs/heads/preview' }}
6065
# The type of runner that the job will run on

0 commit comments

Comments
 (0)