From 69998eb351684a04e172403554be2e86fca022d2 Mon Sep 17 00:00:00 2001 From: alexander-gesinn Date: Wed, 23 Oct 2024 13:45:46 +0200 Subject: [PATCH] init repo with readme --- .github/workflows/readme.yml | 30 ++++++++++++++++++++++++++++++ README-source.adoc | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 .github/workflows/readme.yml create mode 100644 README-source.adoc diff --git a/.github/workflows/readme.yml b/.github/workflows/readme.yml new file mode 100644 index 0000000..2a4c3b9 --- /dev/null +++ b/.github/workflows/readme.yml @@ -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 \ No newline at end of file diff --git a/README-source.adoc b/README-source.adoc new file mode 100644 index 0000000..96c4586 --- /dev/null +++ b/README-source.adoc @@ -0,0 +1,2 @@ +:project_name: docker-ckan += {project_name} \ No newline at end of file