2025-06-13 15:36:59 +02:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- 'main'
|
|
|
|
|
|
|
|
jobs:
|
2025-06-13 16:45:23 +02:00
|
|
|
#setup:
|
|
|
|
# runs-on: docker
|
|
|
|
# steps:
|
|
|
|
# - uses: actions/checkout@v4
|
|
|
|
# - name: Setup
|
|
|
|
# run: |
|
|
|
|
# echo $PWD
|
|
|
|
# ls -l
|
2025-06-13 15:48:13 +02:00
|
|
|
build:
|
2025-06-13 15:36:59 +02:00
|
|
|
runs-on: docker
|
2025-06-13 15:48:13 +02:00
|
|
|
container:
|
|
|
|
image: hggwil/asciidoc
|
2025-06-13 15:36:59 +02:00
|
|
|
steps:
|
|
|
|
- name: Setup
|
|
|
|
run: |
|
2025-06-13 16:45:23 +02:00
|
|
|
apk add --no-cache git
|
|
|
|
- name: Clone Repo
|
|
|
|
run: |
|
|
|
|
git clone "$CI_REPOSITORY_URL" .
|
|
|
|
git checkout
|
|
|
|
- name: Build
|
|
|
|
run: |
|
|
|
|
asciidoctor-epub3 -D output book.adoc
|
|
|
|
- name: Upload
|
|
|
|
uses: actions/upload-artifact@v3
|
|
|
|
with:
|
|
|
|
name: book
|
|
|
|
path: output/
|
|
|
|
|