mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
7e52b6fa24
I simply extracted the script from .github/workflows/manpages.yml, without significant modification.
28 lines
848 B
YAML
28 lines
848 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-20.04
|
|
if: always() && github.repository == 'SerenityOS/serenity' && github.ref == 'refs/heads/master'
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: r-lib/actions/setup-pandoc@v1
|
|
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 }}
|
|
folder: output
|