summaryrefslogtreecommitdiff
path: root/.gitea/workflows
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-03-15 17:21:31 +0900
committerOphestra <cat@gensokyo.uk>2026-03-15 17:50:50 +0900
commit9b3eb58a3f7a1b34d1140e82f8553ab16ffe0db1 (patch)
treefc4e284a653cacb4079f7fdb531567413b3adf77 /.gitea/workflows
parentdd44d349fc2ccd6075a00334e300b5c4636f6019 (diff)
all: update repository url
For the upcoming rename of security org to rosa. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to '.gitea/workflows')
-rw-r--r--.gitea/workflows/release.yml9
-rw-r--r--.gitea/workflows/static.yml2
2 files changed, 7 insertions, 4 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
diff --git a/.gitea/workflows/static.yml b/.gitea/workflows/static.yml
index 93c92092..ecab9d63 100644
--- a/.gitea/workflows/static.yml
+++ b/.gitea/workflows/static.yml
@@ -27,7 +27,7 @@ jobs:
run: >-
export HAKUREI_REV="$(git rev-parse --short HEAD)" &&
sed -i.old 's/version = /version = "0.0.0-'$HAKUREI_REV'"; # version = /' package.nix &&
- nix build --print-out-paths --print-build-logs .#hakurei-static &&
+ nix build --print-out-paths --print-build-logs .#static &&
mv package.nix.old package.nix &&
echo "rev=$HAKUREI_REV" >> $GITHUB_OUTPUT