mirror of
https://github.com/xmonad/xmonad.git
synced 2025-07-31 04:01:52 -07:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [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/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
34 lines
763 B
YAML
34 lines
763 B
YAML
name: Generate manpage
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Clone project
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
set -ex
|
|
sudo apt install -y pandoc
|
|
|
|
- name: Generate manpage
|
|
run: |
|
|
set -ex
|
|
for d in /opt/ghc/*/bin; do PATH="$d:$PATH"; break; done
|
|
make -B -C man
|
|
|
|
- name: Commit/push if changed
|
|
run: |
|
|
set -ex
|
|
git config user.name 'github-actions[bot]'
|
|
git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
|
|
git diff --quiet --exit-code && exit
|
|
git commit -a -m 'man: Update'
|
|
git push
|