Skip to content

feat: add raw command for protocol exploration #29

feat: add raw command for protocol exploration

feat: add raw command for protocol exploration #29

Workflow file for this run

name: Wiki
on:
push:
branches: [master]
paths:
- 'README.md'
- 'radfu.h2m'
- 'CONTRIBUTING.md'
- 'LEGAL.md'
- 'scripts/generate-wiki.sh'
workflow_dispatch:
jobs:
update-wiki:
name: Update Wiki
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y meson ninja-build help2man groff
- name: Build radfu and man page
run: |
meson setup build -Dtests=false
meson compile -C build
- name: Generate wiki pages
run: ./scripts/generate-wiki.sh wiki
- name: Checkout wiki
uses: actions/checkout@v4
with:
repository: ${{ github.repository }}.wiki
path: wiki-repo
token: ${{ secrets.GITHUB_TOKEN }}
- name: Update wiki
run: |
cp wiki/*.md wiki-repo/
cd wiki-repo
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add -A
if git diff --staged --quiet; then
echo "No changes to commit"
else
git commit -m "Update wiki from README.md and man page"
git push
fi