Skip to content

Commit b3a5ead

Browse files
committed
docs (readme): init asciidoc workflow
1 parent 77ad23b commit b3a5ead

File tree

3 files changed

+34
-2
lines changed

3 files changed

+34
-2
lines changed

Diff for: .github/workflows/readme.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Build readme
2+
3+
on:
4+
push:
5+
paths:
6+
- README-source.adoc
7+
branches:
8+
- '**'
9+
workflow_dispatch:
10+
11+
jobs:
12+
13+
build:
14+
timeout-minutes: 10
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- name: Install asciidoctor-reducer
19+
run: sudo gem install asciidoctor-reducer --pre
20+
21+
- name: Checkout repository
22+
uses: actions/checkout@v4
23+
with:
24+
submodules: 'true'
25+
26+
- name: Reduce readme
27+
run: asciidoctor-reducer -o README.adoc README-source.adoc
28+
29+
- name: Commit readme
30+
uses: EndBug/add-and-commit@v8

Diff for: README-source.adoc

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
:project_name: Ansible Role "Manage Traefik"
2+
= {project_name}
3+
4+
Special purpose Ansible role to manage traefik proxy in "factory" environments.

Diff for: README.md

-2
This file was deleted.

0 commit comments

Comments
 (0)