Nuxt/.github/workflows/docs-deploy.yml

21 lines
425 B
YAML
Raw Normal View History

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 }}"