Skip to content

update

update #21

Workflow file for this run

name: Docs
on:
push:
branches:
- 'main'
paths:
- asciidocs/**
workflow_dispatch:
jobs:
build:
name: Build & Publish 🚀
runs-on: ubuntu-latest
env:
INPUTPATH: asciidocs
OUTPUTPATH: dist
SLIDES: true
BRANCH: gh-pages
steps:
- uses: actions/checkout@v4
- name: Build
uses: quirinecker/asciidoctor-convert-action@main
with:
slides: ${{ env.SLIDES }}
inputPath: ${{ env.INPUTPATH }}
outputPath: ${{ env.OUTPUTPATH }}
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@releases/v4
with:
GITHUB_TOKEN: ${{ github.TOKEN }}
BRANCH: ${{ env.BRANCH }}
FOLDER: ${{ env.OUTPUTPATH }}