Skip to content

Commit

Permalink
Put README generation in GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
maouw committed Oct 24, 2023
1 parent 448022d commit 3468500
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/mkreadme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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: |
Expand Down

0 comments on commit 3468500

Please sign in to comment.