File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 43
43
port : 21
44
44
local-dir : /home/ubuntu/DWTDoc/_site/
45
45
server-dir : /www.dynamsoft.com/web-twain/docs/
46
+
47
+ - name : Trigger Webhook
48
+ run : |
49
+ curl -X POST -H "${{ secrets.WEBHOOK_USER }}" -H "${{ secrets.WEBHOOK_TOKEN }}" -H "Content-Type: application/json" -d "[\"/web-twain/docs/*\"]" ${{ secrets.WEBHOOK_URL }}
50
+
46
51
47
52
Build-Preview :
48
53
if : ${{ github.ref == 'refs/heads/preview' }}
Original file line number Diff line number Diff line change 47
47
local-dir : /home/ubuntu/DWTDoc/_site/
48
48
server-dir : /www.dynamsoft.com/web-twain/docs/
49
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 "[\"/web-twain/docs/*\"]" ${{ secrets.WEBHOOK_URL }}
53
+
54
+
50
55
Build-Preview :
51
56
if : ${{ github.ref == 'refs/heads/preview' }}
52
57
# The type of runner that the job will run on
You can’t perform that action at this time.
0 commit comments