test1
Some checks failed
Main Build Process / generate documentation (pull_request) Failing after 2m11s

This commit is contained in:
2024-09-04 22:50:00 +02:00
parent b3ac007c82
commit 564154b86d
3 changed files with 35 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
name: "Main Build Process"
# Runs on main branch commits,
# every commit in a pull request, any published release.
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
release:
types: [published]
jobs:
asciidoc:
name: "generate documentation"
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Get build container
id: adocbuild
uses: tonynv/asciidoctor-action@master
with:
program: "asciidoctor -D docs --backend=html5 -o index.html documentation/index.adoc"
- name: Print execution time
run: echo "Time ${{ steps.adocbuild.outputs.time }}"
- name: Deploy docs to ghpages
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_branch: gh-pages
publish_dir: ./

1
documentation/index.adoc Normal file
View File

@@ -0,0 +1 @@
Hello world