mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 18:13:54 +00:00
21 lines
425 B
YAML
21 lines
425 B
YAML
name: docs
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- "docs/**"
|
|
branches:
|
|
- 3.x
|
|
|
|
# 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 }}"
|