Skip to content

chore: use sectlinks instead of sectanchors to prevent accessibility … #3

chore: use sectlinks instead of sectanchors to prevent accessibility …

chore: use sectlinks instead of sectanchors to prevent accessibility … #3

name: Build adocs and publish v1 to production
on:
push:
branches:
- v1
paths:
- docs/**
workflow_dispatch:
jobs:
adoc_build:
runs-on: ubuntu-latest
name: asciidoctor build
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: v1
- name: Build html
id: adocbuild
uses: tonynv/asciidoctor-action@master
with:
program: "asciidoctor -D docs -o index.html -a lang=nb docs/main.adoc"
- name: Build pdf
id: adocbuild_pdf
uses: tonynv/asciidoctor-action@master
with:
program: "asciidoctor-pdf -D docs -o files/forvaltningsstandard-begrepsbeskrivelser-utfases.pdf -a lang=nb docs/main.adoc"
continue-on-error: true
- name: Upload rdf to static-rdf-server
uses: Informasjonsforvaltning/upload-files-to-static-rdf-server-action@v3.2.0
id: upload-rdf
with:
ontology-type: "specification"
ontology: "forvaltningsstandard-begrepsbeskrivelser"
host: "https://fellesdatakatalog.digdir.no"
api-key: ${{ secrets.STATIC_RDF_SERVER_API_KEY }}
files: |
docs/index.html text/html nb
docs/files/forvaltningsstandard-begrepsbeskrivelser-utfases.pdf application/pdf nb files/forvaltningsstandard-begrepsbeskrivelser-utfases.pdf
docs/files/StandardForBegrepsbeskrivelse.xsd application/octet-stream nb files/StandardForBegrepsbeskrivelse.xsd
docs/images/Digdir.png image/png nb images/Digdir.png
docs/images/UML-v2.0.jpg image/jpeg nb images/UML-v2.0.jpg
docs/images/UML-v2.0.png image/png nb images/UML-v2.0.png