mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-08-22 17:23:47 +00:00
46a6fc1670
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
34 lines
902 B
YAML
34 lines
902 B
YAML
name: GithHub Pages
|
|
on:
|
|
push:
|
|
tags:
|
|
- '*'
|
|
|
|
permissions: {}
|
|
jobs:
|
|
github-pages:
|
|
permissions:
|
|
contents: write # to push pages branch (peaceiris/actions-gh-pages)
|
|
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v7
|
|
|
|
- name: Setup PHP, with composer and extensions
|
|
uses: shivammathur/setup-php@v2
|
|
with:
|
|
php-version: 8.3
|
|
coverage: none # remove xdebug
|
|
|
|
- name: Build API documentation
|
|
run: |
|
|
curl -LO https://github.com/phpDocumentor/phpDocumentor/releases/download/v3.8.1/phpDocumentor.phar
|
|
php phpDocumentor.phar --directory src/ --target docs/api --visibility=public,protected
|
|
|
|
- name: Deploy to GithHub Pages
|
|
uses: peaceiris/actions-gh-pages@v4
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
publish_dir: ./docs/api
|