aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmed <git@gumx.cc>2025-10-16 17:01:30 +0300
committerAhmed <git@gumx.cc>2025-10-16 17:01:30 +0300
commit76d25349fa15acae1994b267274d898acb551522 (patch)
tree92dbce99906fed26271f8cdd5123bc327a9a9039
parent30dd31fbc558597110f373b3ef1e0c75ea350f75 (diff)
fix: updated info and build conf for sourcehut
-rw-r--r--.build.yml17
-rw-r--r--.gitlab-ci.yml16
-rw-r--r--README.md4
-rw-r--r--theme.toml6
4 files changed, 23 insertions, 20 deletions
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]