Skip to content

Reduce README

Reduce README #3

name: Reduce README
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Install Asciidoctor Reducer
run: sudo gem install asciidoctor-reducer
- name: Reduce README
# to preserve preprocessor conditionals, add the --preserve-conditionals option
run: asciidoctor-reducer -a env-build-for-spring-academy -o README-reduced.adoc README.adoc
- name: Commit and Push README
uses: EndBug/add-and-commit@v9
with:
add: README-reduced.adoc