-
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (27 loc) · 850 Bytes
/
docs.yml
File metadata and controls
33 lines (27 loc) · 850 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Documentation Build and Deploy
on:
push:
branches:
- main
- '**' # Run on all branches for build/test
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
permissions:
contents: write # Für peaceiris/actions-gh-pages@v3
pages: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
# Includes the AsciiDoctor GitHub Pages Action to convert adoc files to html and publish to gh-pages branch
- name: asciidoctor-ghpages
if: github.ref == 'refs/heads/main'
uses: manoelcampos/asciidoctor-ghpages-action@v2
with:
pdf_build: false
source_dir: docs/
asciidoctor_attributes: "docinfo=shared toc=left toclevels=2"