mirror of
https://github.com/Cysharp/UniTask.git
synced 2026-05-15 19:40:09 +00:00
Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) from 3 to 4. - [Release notes](https://github.com/peaceiris/actions-gh-pages/releases) - [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md) - [Commits](https://github.com/peaceiris/actions-gh-pages/compare/v3...v4) --- updated-dependencies: - dependency-name: peaceiris/actions-gh-pages dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
32 lines
756 B
YAML
32 lines
756 B
YAML
name: build-docs
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- feature/docs
|
|
|
|
jobs:
|
|
run-docfx:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
repository: Cysharp/DocfxTemplate
|
|
path: docs/_DocfxTemplate
|
|
- uses: Kirbyrawr/docfx-action@master
|
|
name: Docfx metadata
|
|
with:
|
|
args: metadata docs/docfx.json
|
|
- uses: Kirbyrawr/docfx-action@master
|
|
name: Docfx build
|
|
with:
|
|
args: build docs/docfx.json
|
|
- name: Publish to GitHub Pages
|
|
uses: peaceiris/actions-gh-pages@v4
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
publish_dir: docs/_site
|