2024-09-02 21:03:47 +00:00
|
|
|
name: docs
|
2023-10-20 15:22:41 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
paths:
|
|
|
|
- "docs/**"
|
|
|
|
branches:
|
2024-09-02 21:03:47 +00:00
|
|
|
- 3.x
|
2023-10-20 15:22:41 +00:00
|
|
|
|
|
|
|
# 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 }}"
|