update tinyauth
This commit is contained in:
parent
0f2aa586bf
commit
b77f38edf5
@ -27,7 +27,7 @@ mkdir -p /opt/tinyauth
|
|||||||
RELEASE=$(curl -s https://api.github.com/repos/steveiliop56/tinyauth/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
RELEASE=$(curl -s https://api.github.com/repos/steveiliop56/tinyauth/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
||||||
curl -fsSL https://github.com/steveiliop56/tinyauth/archive/refs/tags/v${RELEASE}.tar.gz -o $temp_file
|
curl -fsSL https://github.com/steveiliop56/tinyauth/archive/refs/tags/v${RELEASE}.tar.gz -o $temp_file
|
||||||
tar -xzf "$temp_file" -C /opt/tinyauth --strip-components=1
|
tar -xzf "$temp_file" -C /opt/tinyauth --strip-components=1
|
||||||
cd /opt/tinyauth/site
|
cd /opt/tinyauth/frontend
|
||||||
$STD bun install
|
$STD bun install
|
||||||
$STD bun run build
|
$STD bun run build
|
||||||
mv dist /opt/tinyauth/internal/assets/
|
mv dist /opt/tinyauth/internal/assets/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user