-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (31 loc) · 994 Bytes
/
Copy pathdocs.yml
File metadata and controls
36 lines (31 loc) · 994 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Docs sync
on:
workflow_dispatch:
push:
paths:
- 'composer.json'
- '.github/workflows/test.yml'
- '.github/workflows/docs.yml'
- 'src/Console/Commands/**'
- 'src/Domain/Blueprint/Contracts/**'
- 'bin/docs-sync.php'
- 'website/src/generated/**'
- 'README.md'
pull_request:
jobs:
docs-sync:
runs-on: ubuntu-latest
name: Verify generated docs are in sync
steps:
- name: Checkout code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup PHP
uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2
with:
php-version: '8.4'
extensions: dom, curl, libxml, mbstring, zip
coverage: none
- name: Install dependencies
run: composer update --no-ansi --no-interaction --no-progress --prefer-dist
- name: Check documentation is in sync with source
run: composer docs:check