updated nixpacks

This commit is contained in:
Erik Grobecker 2024-10-17 11:54:36 +02:00
parent f20ce9ac47
commit 5e4e21009b
Signed by: Erik
GPG key ID: 80D020D0ABBD3FB2
4 changed files with 8 additions and 13 deletions

View file

@ -1,9 +0,0 @@
FROM ghcr.io/getzola/zola:v0.19.2 AS zola
COPY . /project
WORKDIR /project
RUN ["zola", "build"]
FROM ghcr.io/static-web-server/static-web-server:2
WORKDIR /
COPY --from=zola /project/public /public

View file

@ -12,6 +12,10 @@ build_search_index = true
author = "Erik" author = "Erik"
generate_feeds = true
taxonomies = [{ name = "tags", feed = true }]
# smart_punctuation = true # smart_punctuation = true
# bottom_footnotes = true # bottom_footnotes = true

View file

@ -1,11 +1,11 @@
+++ +++
title = "test" title = "test"
draft = true draft = false
insert_anchor_links = "left" insert_anchor_links = "left"
tags = [ "typst" ] tags = [ "typst" ]
render = true render = true
[extra] # [extra]
# poor = true # poor = true
+++ +++

View file

@ -1,7 +1,7 @@
providers = ["..."] providers = ["...", "staticfile"]
[phases.setup] [phases.setup]
nixPkgs = ["zola"] nixPkgs = ["zola"]
[phases.build] [phases.build]
cmds = ["echo building!", "zola build"] cmds = ["zola build"]