Skip to content

Commit cbc5e9e

Browse files
authored
add docs-preview-delete workflow (#779)
1 parent 43bd322 commit cbc5e9e

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Docs preview delete
2+
3+
on:
4+
repository_dispatch:
5+
types: [docs-preview-delete]
6+
7+
jobs:
8+
Sync:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
with:
13+
token: ${{ secrets.GH_TOKEN }}
14+
15+
- name: Delete branch
16+
run: git push origin :sync/${{ github.event.client_payload.package }}/${{ github.event.client_payload.owner }}/${{ github.event.client_payload.branch }}

0 commit comments

Comments
 (0)