File tree Expand file tree Collapse file tree 1 file changed +9
-13
lines changed
Expand file tree Collapse file tree 1 file changed +9
-13
lines changed Original file line number Diff line number Diff line change @@ -20,18 +20,14 @@ jobs:
2020 steps :
2121 - name : Checkout
2222 uses : actions/checkout@v4
23-
24- # 1. Dokumentation mit Asciidoctor bauen (unter Verwendung von Docker)
25- - name : Build Documentation
26- uses : docker://asciidoctor/docker-asciidoctor
27- with :
28- args : asciidoctor -R docs -D build/site/html -a docinfo=shared -a toc=left -a toclevels=2 'docs/index.adoc'
29-
30- # 2. Deployment zu gh-pages
31- - name : Deploy to GitHub Pages
23+
24+
25+ # Includes the AsciiDoctor GitHub Pages Action to convert adoc files to html and publish to gh-pages branch
26+ - name : asciidoctor-ghpages
3227 if : github.ref == 'refs/heads/main'
33- uses : peaceiris/actions-gh-pages@v3
28+ uses : manoelcampos/asciidoctor-ghpages-action@v2
3429 with :
35- github_token : ${{ secrets.GITHUB_TOKEN }}
36- publish_dir : ./build/site/html
37- publish_branch : gh-pages
30+ pdf_build : false
31+ source_dir : docs/
32+ asciidoctor_attributes : " docinfo=shared toc=left toclevels=2"
33+
You can’t perform that action at this time.
0 commit comments