Skip to content

Render Project Docs #954

Render Project Docs

Render Project Docs #954

Workflow file for this run

name: Render Project Docs
on:
workflow_dispatch:
push:
schedule:
- cron: '12 1 * * *'
jobs:
build:
if: "! contains(toJSON(github.event.commits.*.message), '[ci skip]')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- uses: rlespinasse/[email protected]
- name: Install antora
run: |
npm i @antora/[email protected] @antora/[email protected] @antora/lunr-extension
npm install
- name: Cleanup docs folder
run: |
ls -l docs/*
rm -rf docs/*
- name: Render docs
run: |
npx antora --version
npx antora generate --silent --clean --fetch site.yml
- name: Publish docs
shell: bash
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
./.github/workflows/push.sh