Skip to content

feat: Add user guide for compaction offload (#158) #64

feat: Add user guide for compaction offload (#158)

feat: Add user guide for compaction offload (#158) #64

Workflow file for this run

name: Deploy Documentation
on:
workflow_dispatch:
push:
branches:
- main
# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: 'latest'
extended: true
- name: Build with Hugo
env:
# For maximum backward compatibility with Hugo modules
HUGO_ENVIRONMENT: production
HUGO_ENV: production
run: |
npm i -D postcss postcss-cli autoprefixer
hugo --minify
# copy .asf.yaml to ./public, asf site needs it.
- run: cp .asf.yaml ./public
- uses: peaceiris/actions-gh-pages@v3
if: github.event_name != 'pull_request'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
publish_branch: asf-site