mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05:00
3d9b88d2a7
Bumps [r-lib/actions](https://github.com/r-lib/actions) from 1 to 2. - [Release notes](https://github.com/r-lib/actions/releases) - [Commits](https://github.com/r-lib/actions/compare/v1...v2) --- updated-dependencies: - dependency-name: r-lib/actions dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
28 lines
854 B
YAML
28 lines
854 B
YAML
name: Generate man pages
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- "Base/usr/share/man/**"
|
|
- "Meta/Websites/man.serenityos.org/**"
|
|
|
|
jobs:
|
|
convert_using_pandoc:
|
|
runs-on: ubuntu-22.04
|
|
if: always() && github.repository == 'SerenityOS/serenity' && github.ref == 'refs/heads/master'
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: r-lib/actions/setup-pandoc@v2
|
|
with:
|
|
pandoc-version: '2.13'
|
|
- name: Actually build website
|
|
run: ./Meta/build-manpages-website.sh
|
|
- name: Deploy to GitHub pages
|
|
uses: JamesIves/github-pages-deploy-action@4.1.1
|
|
with:
|
|
git-config-name: BuggieBot
|
|
git-config-email: buggiebot@serenityos.org
|
|
branch: master
|
|
repository-name: SerenityOS/manpages-website
|
|
token: ${{ secrets.BUGGIEBOT_TOKEN }}
|
|
folder: output
|