init repo with readme #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build readme | |
on: | |
push: | |
paths: | |
- README-source.adoc | |
branches: | |
- '**' | |
workflow_dispatch: | |
jobs: | |
build: | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install asciidoctor-reducer | |
run: sudo gem install asciidoctor-reducer --pre | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'true' | |
- name: Reduce readme | |
run: asciidoctor-reducer -o README.adoc README-source.adoc | |
- name: Commit readme | |
uses: EndBug/add-and-commit@v8 |