Skip to content

Commit

Permalink
#1 Move documentation from Confluence to Git
Browse files Browse the repository at this point in the history
initial Antora setup
  • Loading branch information
oliverlietz committed Aug 22, 2023
0 parents commit 5adc023
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "Documentation"

on:
push:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
- run: npm i antora
- run: npx antora antora-playbook.yml
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: build/site
17 changes: 17 additions & 0 deletions antora-playbook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
site:
title: OPS4J Documentation
start_page: pax-exam::index.adoc

content:
sources:
- url: github.com/ops4j/org.ops4j.pax.exam.git
branches: [v4.x]
start_path: documentation
- url: github.com/ops4j/org.ops4j.pax.tinybundles.git
branches: [master]
start_path: documentation

ui:
bundle:
url: https://gitlab.com/antora/antora-ui-default/-/jobs/artifacts/HEAD/raw/build/ui-bundle.zip?job=bundle-stable
snapshot: true

0 comments on commit 5adc023

Please sign in to comment.