Skip to content

Add gh-pages workflow #4

Add gh-pages workflow

Add gh-pages workflow #4

name: build <fcs-aai> adocs
on:
push:
branches:
- main
- dev
paths:
- 'fcs-aai/**'
- '.github/workflows/build-fcs-aai-adoc.yml'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
container: asciidoctor/docker-asciidoctor
steps:
- uses: actions/checkout@v4
- name: Build HTML
run: asciidoctor -v -D docs -a data-uri --backend=html5 -o fcs-aai.html fcs-aai/index.adoc
- name: Build PDF
run: asciidoctor-pdf -v -D docs -o fcs-aai.pdf fcs-aai/index.adoc
- name: Store results
uses: actions/upload-artifact@v4
with:
name: fcs-aai-specs
path: docs/*