mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 01:17:16 +00:00
21 lines
433 B
YAML
21 lines
433 B
YAML
|
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 }}"
|