Skip to content

Commit 5adc023

Browse files
committed
#1 Move documentation from Confluence to Git
initial Antora setup
0 parents  commit 5adc023

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

.github/workflows/documentation.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: "Documentation"
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
- uses: actions/setup-node@v3
13+
with:
14+
node-version: '16'
15+
- run: npm i antora
16+
- run: npx antora antora-playbook.yml
17+
- uses: peaceiris/actions-gh-pages@v3
18+
with:
19+
github_token: ${{ secrets.GITHUB_TOKEN }}
20+
publish_dir: build/site

antora-playbook.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
site:
2+
title: OPS4J Documentation
3+
start_page: pax-exam::index.adoc
4+
5+
content:
6+
sources:
7+
- url: github.com/ops4j/org.ops4j.pax.exam.git
8+
branches: [v4.x]
9+
start_path: documentation
10+
- url: github.com/ops4j/org.ops4j.pax.tinybundles.git
11+
branches: [master]
12+
start_path: documentation
13+
14+
ui:
15+
bundle:
16+
url: https://gitlab.com/antora/antora-ui-default/-/jobs/artifacts/HEAD/raw/build/ui-bundle.zip?job=bundle-stable
17+
snapshot: true

0 commit comments

Comments
 (0)