From 34685007439b691f43364a9f78664ceb33b3889a Mon Sep 17 00:00:00 2001 From: Altan Orhon Date: Tue, 24 Oct 2023 15:37:40 -0700 Subject: [PATCH] Put README generation in GitHub Action --- .github/workflows/mkreadme.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/mkreadme.yml b/.github/workflows/mkreadme.yml index a9cec45..6baf030 100644 --- a/.github/workflows/mkreadme.yml +++ b/.github/workflows/mkreadme.yml @@ -3,12 +3,11 @@ on: push: jobs: - build-and-push-image: + build-readme: runs-on: ubuntu-latest - name: Build Apptainer image + name: Build README.md permissions: - contents: read - packages: write + contents: write steps: - name: Install jinja-cli run: | @@ -18,7 +17,7 @@ jobs: - name: Generate configuration descriptions run: | pushd .build/ - sed -E '/^HYAKVNC_.*#\s*%%/!d; s/=.*(#\s*%%)/:/g; s/(^.)/- \1/g' hyakvnc > config.inc.md + sed -E '/^HYAKVNC_.*#\s*%%/!d; s/=.*(#\s*%%)/:/g; s/(^.)/- \1/g' ../hyakvnc > config.inc.md popd - name: Generate usage descriptions run: |