cydonia

Crates.iocydonia
lib.rscydonia
version0.0.8
sourcesrc
created_at2020-09-18 17:33:26.887758
updated_at2024-02-02 22:28:55.972452
descriptionThe static site generator.
homepagehttps://github.com/clearloop/cydonia
repositoryhttps://github.com/clearloop/cydonia.git
max_upload_size
id290185
size207,333
(clearloop)

documentation

https://docs.rs/cydonia

README

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

Commit count: 0

cargo fmt