Show the crate…

1 unstable release

0.0.0 Oct 27, 2024

#90 in #serve

Download history 125/week @ 2024-10-25 10/week @ 2024-11-01

135 downloads per month

GPL-3.0-only

73KB
927 lines

Cydonia

cydonia ci

Usage

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]

jobs:
  deploy:
    name: Deploy
    runs-on: ubuntu-22.04
    permissions:
      contents: write
    steps:
      - uses: actions/checkout@v4
      - uses: clearloop/cydonia@0.0.7

      - 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

Dependencies

~11–23MB
~331K SLoC