Skip to content

Commit

Permalink
init repo with readme
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-gesinn committed Oct 23, 2024
0 parents commit 69998eb
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/readme.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
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
2 changes: 2 additions & 0 deletions README-source.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
:project_name: docker-ckan
= {project_name}

0 comments on commit 69998eb

Please sign in to comment.