From 76d25349fa15acae1994b267274d898acb551522 Mon Sep 17 00:00:00 2001 From: Ahmed Date: Thu, 16 Oct 2025 17:01:30 +0300 Subject: fix: updated info and build conf for sourcehut --- .build.yml | 17 +++++++++++++++++ .gitlab-ci.yml | 16 ---------------- README.md | 4 +++- theme.toml | 6 +++--- 4 files changed, 23 insertions(+), 20 deletions(-) create mode 100644 .build.yml delete mode 100644 .gitlab-ci.yml diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..6d84f75 --- /dev/null +++ b/.build.yml @@ -0,0 +1,17 @@ +image: alpine/edge +packages: + - hut + - zola +oauth: pages.sr.ht/PAGES:RW +environment: + site: zola-no-style-please.demo.gumx.cc +sources: + - https://git.sr.ht/~gumxcc/zola-no-style-please +tasks: + - build: | + cd zola-no-style-please + zola build + - package: | + tar -C zola-no-style-please/public -cvz . > site.tar.gz + - upload: | + hut pages publish -d $site site.tar.gz diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index 4fc4afa..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,16 +0,0 @@ -image: alpine:latest -pages: - script: - # Install the zola package from the alpine community repositories - - apk add --update-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community/ zola - # Execute zola build - - zola build - - artifacts: - paths: - # Path of our artifacts - - public - - # This config will only publish changes that are pushed on the main branch - only: - - main \ No newline at end of file diff --git a/README.md b/README.md index 506a84d..a54ccbe 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,9 @@ # no style, please! A (nearly) no-CSS, fast, minimalist [Zola](https://www.getzola.org/) theme. -Ported from from [riggraz](https://riggraz.dev/)'s [no style, please! Jekyll theme](https://riggraz.dev/no-style-please/), and you can find the demo [here](https://atgumx.gitlab.io/no-style-please/) +Ported from from [riggraz](https://riggraz.dev/)'s [no style, please! Jekyll theme](https://riggraz.dev/no-style-please/), and you can find the demo [here](https://zola-no-style-please.demo.gumx.cc/) + +Main project is on [sourcehut](https://sr.ht/~gumxcc/zola-no-style-please), with mirrors on [GitHub](https://github.com/gumxcc/zola-no-style-please) and [GitLab](https://gitlab.com/gumxcc/zola-no-style-please). ![screenshot](./screenshot.png) diff --git a/theme.toml b/theme.toml index 377a730..0eea663 100644 --- a/theme.toml +++ b/theme.toml @@ -1,15 +1,15 @@ name = "no style, please!" description = "A (nearly) no-CSS, fast, minimalist Zola theme" license = "MIT" -homepage = "https://gitlab.com/atgumx/no-style-please" +homepage = "https://git.sr.ht/~gumxcc/zola-no-style-please" min_version = "0.4.0" -demo = "https://atgumx.gitlab.io/no-style-please" +demo = "zola-no-style-please.demo.gumx.cc" [extra] # The theme author info: you! [author] -name = "Ahmed Alaa" +name = "Ahmed" homepage = "https://gumx.cc" [original] -- cgit v1.2.3