test1
Some checks failed
Main Build Process / generate documentation (pull_request) Failing after 2m11s
Some checks failed
Main Build Process / generate documentation (pull_request) Failing after 2m11s
This commit is contained in:
34
.gitea/workflows/merge.yaml
Normal file
34
.gitea/workflows/merge.yaml
Normal 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
1
documentation/index.adoc
Normal file
@@ -0,0 +1 @@
|
|||||||
|
Hello world
|
||||||
Reference in New Issue
Block a user