summaryrefslogtreecommitdiff
path: root/.gitea/workflows/release.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitea/workflows/release.yml')
-rw-r--r--.gitea/workflows/release.yml9
1 files changed, 6 insertions, 3 deletions
diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml
index 239816be..f6e31095 100644
--- a/.gitea/workflows/release.yml
+++ b/.gitea/workflows/release.yml
@@ -3,7 +3,7 @@ name: Release
on:
push:
tags:
- - 'v*'
+ - '*'
jobs:
release:
@@ -15,8 +15,11 @@ jobs:
- name: Process static files
run: >-
- nix build --print-out-paths --print-build-logs .#hakurei-static &&
- nix shell nixpkgs#gnutar nixpkgs#zstd --command tar -C result --zstd -cf hakurei.app-${{ github.ref_name }}.tar.zst .
+ nix build \
+ --print-out-paths \
+ --print-build-logs \
+ --out-link hakurei.app-${{ github.ref_name }}.tar.zst \
+ .#dist
- name: Release
uses: https://gitea.com/actions/release-action@main