mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-05 03:47:12 +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 }}"
|