mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00

Some checks are pending
Push / LINUX_X64_RELEASE_NTS (push) Has been skipped
Push / LINUX_X64_DEBUG_ZTS_ASAN (push) Has been skipped
Push / FREEBSD (push) Has been skipped
Push / MACOS_ARM64_DEBUG_NTS (push) Waiting to run
Push / WINDOWS_X64_ZTS (push) Waiting to run
Push / LINUX_X32_DEBUG_ZTS (push) Has been skipped
Push / BENCHMARKING (push) Has been skipped
* PHP-8.4: Update GitHub Action workflows to `actions/checkout@v5`
30 lines
675 B
YAML
30 lines
675 B
YAML
name: Docs
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- docs/**
|
|
pull_request:
|
|
paths:
|
|
- docs/**
|
|
jobs:
|
|
pages:
|
|
runs-on: ubuntu-22.04
|
|
permissions:
|
|
pages: write
|
|
id-token: write
|
|
if: github.repository == 'php/php-src'
|
|
steps:
|
|
- name: git checkout
|
|
uses: actions/checkout@v5
|
|
- name: Install dependencies
|
|
run: pip install -r docs/requirements.txt
|
|
- name: Check formatting
|
|
run: make -C docs check-formatting
|
|
- name: Publish
|
|
if: github.event_name == 'push'
|
|
uses: sphinx-notes/pages@v3
|
|
with:
|
|
checkout: false
|
|
documentation_path: docs/source
|