mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 00:23:53 +00:00
ci: add doc deploy webhook trigger (#23828)
This commit is contained in:
parent
785b7a3f6e
commit
2f7e1c7827
20
.github/workflows/docs-deploy.yml
vendored
Normal file
20
.github/workflows/docs-deploy.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
name: Deploy docs
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- "docs/**"
|
||||
branches:
|
||||
- main
|
||||
|
||||
# Remove default permissions of GITHUB_TOKEN for security
|
||||
# https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
deploy-docs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- if: ${{ github.repository_owner == 'nuxt' && github.event_name == 'push' }}
|
||||
run: curl "${{ secrets.DOCS_WEBHOOK }}"
|
Loading…
Reference in New Issue
Block a user