mirror of
https://github.com/mpv-player/mpv
synced 2025-03-19 01:47:38 +00:00
github/workflows: add a workflow to check doc changes
Should hopefully avoid any accidents with stray characters and other things. Only needs to run if something within DOCS changes.
This commit is contained in:
parent
155777fbd8
commit
3140f921dd
24
.github/workflows/docs.yml
vendored
Normal file
24
.github/workflows/docs.yml
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
name: docs
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- ci
|
||||
- 'release/**'
|
||||
paths:
|
||||
- 'DOCS/**'
|
||||
pull_request:
|
||||
branches: [master]
|
||||
paths:
|
||||
- 'DOCS/**'
|
||||
|
||||
jobs:
|
||||
commit-msg:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: docs
|
||||
run: |
|
||||
sudo apt-get install python3-docutils
|
||||
rst2man --strip-elements-with-class=contents --halt=2 ./DOCS/man/mpv.rst mpv.1
|
Loading…
Reference in New Issue
Block a user