mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 10:25:28 +00:00
ci: Remove badges from README.md prior to converting to HTML (#633)
- Remove thematic break after badges - Remove badges from README.md prior to converting to HTML Signed-off-by: Sergei Petrosian <spetrosi@redhat.com>
This commit is contained in:
parent
cd7eafe009
commit
44e5983185
4 changed files with 8 additions and 4 deletions
3
.github/workflows/build_docs.yml
vendored
3
.github/workflows/build_docs.yml
vendored
|
|
@ -75,6 +75,9 @@ jobs:
|
|||
- name: Ensure that version and docs directories exist
|
||||
run: mkdir -p ${{ env.RELEASE_VERSION }} docs
|
||||
|
||||
- name: Remove badges from README.md prior to converting to HTML
|
||||
run: sed -i '1,8 {/^\[\!.*actions\/workflows/d}' ref_branch/README.md
|
||||
|
||||
- name: Convert README.md to HTML and save to the version directory
|
||||
uses: docker://pandoc/core:latest
|
||||
with:
|
||||
|
|
|
|||
2
.github/workflows/markdownlint.yml
vendored
2
.github/workflows/markdownlint.yml
vendored
|
|
@ -34,5 +34,5 @@ jobs:
|
|||
with:
|
||||
args: >-
|
||||
--ignore=CHANGELOG.md
|
||||
**/*.md
|
||||
**/*.md
|
||||
config: .markdownlint.yaml
|
||||
|
|
|
|||
5
.github/workflows/test_converting_readme.yml
vendored
5
.github/workflows/test_converting_readme.yml
vendored
|
|
@ -28,7 +28,10 @@ jobs:
|
|||
- name: Check out code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Convert README.md to HTML and save to the version directory
|
||||
- name: Remove badges from README.md prior to converting to HTML
|
||||
run: sed -i '1,8 {/^\[\!.*actions\/workflows/d}' README.md
|
||||
|
||||
- name: Convert README.md to HTML
|
||||
uses: docker://pandoc/core:latest
|
||||
with:
|
||||
args: >-
|
||||
|
|
|
|||
|
|
@ -2,8 +2,6 @@
|
|||
|
||||
[](https://github.com/linux-system-roles/network/actions/workflows/ansible-lint.yml) [](https://github.com/linux-system-roles/network/actions/workflows/ansible-test.yml) [](https://github.com/linux-system-roles/network/actions/workflows/codeql.yml) [](https://github.com/linux-system-roles/network/actions/workflows/integration.yml) [](https://github.com/linux-system-roles/network/actions/workflows/python-unit-test.yml) [](https://github.com/linux-system-roles/network/actions/workflows/shellcheck.yml) [](https://github.com/linux-system-roles/network/actions/workflows/woke.yml) [](https://github.com/linux-system-roles/network/actions/workflows/markdownlint.yml) [](https://coveralls.io/github/linux-system-roles/network) [](https://github.com/ambv/black) [](https://lgtm.com/projects/g/linux-system-roles/network/context:python)
|
||||
|
||||
---
|
||||
|
||||
## Overview
|
||||
|
||||
The `network` role enables users to configure network on the target machines.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue