8000 ci: directly call webhook url · nuxt/nuxt@4eedbca · GitHub
[go: up one dir, main page]

Skip to content

Commit 4eedbca

Browse files
committed
ci: directly call webhook url
1 parent d22cf79 commit 4eedbca

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed
Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: notify-nuxt-website
22
on:
3+
workflow_dispatch:
34
push:
45
branches:
56
- 3.x
@@ -11,15 +12,7 @@ permissions: {}
1112

1213
jobs:
1314
notify:
14-
strategy:
15-
matrix:
16-
repo: ["nuxt/nuxt.com"]
1715
runs-on: ubuntu-latest
1816
steps:
1917
- name: trigger nuxt website deployment
20-
uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v4.0.1
21-
with:
22-
token: ${{ secrets.NUXT_WEBSITE_GITHUB_TOKEN }}
23-
repository: ${{ matrix.repo }}
24-
event-type: docs-updated
25-
client-payload: '{"url": "${{ github.event.pull_request.html_url }}"}'
18+
run: curl "${{ secrets.NUXT_WEBSITE_WEBHOOK_URL }}"

0 commit comments

Comments
 (0)
0