cydonia 0.0.7

The static site generator.
Documentation

Cydonia

cydonia ci

cargo install cydonia
cydonia init blog
cydonia serve blog

The minimal directory layout is like below, see cydonia.toml for the full configuration.

my-blog
├── cydonia.toml
└── posts
    └── 2024-01-01-hello-world.md

Github Action

name: Cydonia

on:
  push:
    branches: [main]
  pull_request:
    branches: [main]

jobs:
  deploy:
    name: Deploy
    runs-on: ubuntu-22.04
    permissions:
      contents: write
    concurrency:
      group: ${{ github.workflow }}-${{ github.ref }}
    steps:
      - uses: actions/checkout@v4

      - name: Setup Cydonia
        uses: clearloop/cydonia@0.0.6

      - name: Build the site
        run: cydonia build blog

      - name: Deploy
        uses: peaceiris/actions-gh-pages@v3
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}
          publish_dir: ./blog/out

LICENSE

GPL-3.0-only