build:
    mdbook build

serve:
    mdbook serve

deploy: build
    wrangler pages deploy book --project-name vibedbooks --branch main

infra-init:
    # Initialise the OpenTofu working directory and download providers.
    cd infra && tofu init

infra-plan:
    # Preview infrastructure changes without applying them.
    cd infra && tofu plan

infra-apply:
    # Apply the OpenTofu configuration to Cloudflare.
    cd infra && tofu apply
