Skip to content

Commit 69998eb

Browse files
init repo with readme
0 parents  commit 69998eb

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

.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

README-source.adoc

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
:project_name: docker-ckan
2+
= {project_name}

0 commit comments

Comments
 (0)