Skip to content
This repository has been archived by the owner on Nov 28, 2024. It is now read-only.

chore: update to use latest controllers and ocm #93

chore: update to use latest controllers and ocm

chore: update to use latest controllers and ocm #93

Workflow file for this run

name: Publish Site
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
publish:
name: publish
runs-on: ubuntu-latest
permissions:
contents: 'write'
steps:
- uses: actions/checkout@v4
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
with:
mdbook-version: '0.4.35'
- name: Build mdBook
run: mdbook build ./docs/site
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/site/book