Skip to content

Format asciidoc files at build time #54

Format asciidoc files at build time

Format asciidoc files at build time #54

Workflow file for this run

name: Build
on:
pull_request:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "build"
cancel-in-progress: true
jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: "0.142.0"
# extended: true
- name: Install asciidoctor
run: sudo apt install -y asciidoctor
- name: Build
run: ./build-site
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: website
path: public
if-no-files-found: error
include-hidden-files: true