diff --git a/.build.yml b/.build.yml
deleted file mode 100644
index 97304f1761e2d160d2017973e2118d48531649f7..0000000000000000000000000000000000000000
--- a/.build.yml
+++ /dev/null
@@ -1,29 +0,0 @@
-image: fedora/36
-packages:
- - rsync
- - make
- - pandoc
-
-secrets:
- - 008c4f67-b864-47f8-9790-cd32f2ae8516
-
-environment:
- deploy: builds@gabrielgio.me
- target: artifacts.gabrielgio.me/jnfilter
-
-tasks:
- - deps: |
- cd jnfilter
- sudo make install_deps
- - build: |
- cd jnfilter
- make
- - readme: |
- cd jnfilter
- make docs
- - deploy: |
- cd jnfilter
- sshopts="ssh -o StrictHostKeyChecking=no"
- rsync --rsh="$sshopts" -rP dist/*.rpm index.html $deploy:/var/www/$target
-
-
diff --git a/build.yml b/build.yml
new file mode 100644
index 0000000000000000000000000000000000000000..10616d05b73e4ddbe3c7e91981b59a3db1771aaa
--- /dev/null
+++ b/build.yml
@@ -0,0 +1,25 @@
+image: alpine/latest
+packages:
+ - rsync
+
+sources:
+ - https://git.sr.ht/~gabrielgio/jnfilter
+
+secrets:
+ - 008c4f67-b864-47f8-9790-cd32f2ae8516
+
+environment:
+ build: builds@gabrielgio.me
+ artifact: artifacts.gabrielgio.me/archive/jnfilter/
+ version: 0.1.0
+
+tasks:
+ - archive: |
+ cd jnfilter
+ git archive \
+ -o jnfilter-$version.tar.gz \
+ --prefix=jnfilter-$version/ HEAD
+ - deploy_archive: |
+ cd jnfilter
+ sshopts="ssh -o StrictHostKeyChecking=no"
+ rsync --mkpath --rsh="$sshopts" -rP *.tar.* $build:/var/www/$artifact