File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ # https://github.com/sveltejs/svelte.dev/blob/main/apps/svelte.dev/scripts/sync-docs/README.md
2
+ name : Docs preview delete request
3
+
4
+ on :
5
+ pull_request :
6
+ branches :
7
+ - main
8
+ types : [closed]
9
+
10
+ jobs :
11
+ dispatch :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - name : Repository Dispatch
15
+ uses : peter-evans/repository-dispatch@v3
16
+ with :
17
+ token : ${{ secrets.SYNC_REQUEST_TOKEN }}
18
+ repository : sveltejs/svelte.dev
19
+ event-type : docs-preview-delete
20
+ client-payload : |-
21
+ {
22
+ "package": "cli",
23
+ "repo": "${{ github.repository }}",
24
+ "owner": "${{ github.event.pull_request.head.repo.owner.login }}",
25
+ "branch": "${{ github.event.pull_request.head.ref }}",
26
+ "pr": ${{ github.event.pull_request.number }}
27
+ }
You can’t perform that action at this time.
0 commit comments