feat(actions): push dist to dist branch

This commit is contained in:
z0x 2025-01-25 13:16:59 -05:00
parent a77ac42655
commit c1c93b537e
8 changed files with 13 additions and 271 deletions

View file

@ -1,4 +1,5 @@
name: build dist
name: Build and Deploy Dist
on:
push:
branches:
@ -6,11 +7,11 @@ on:
workflow_dispatch:
jobs:
build-dist:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
- name: Checkout main branch
uses: actions/checkout@v4
- name: Setup bun.sh
@ -18,15 +19,21 @@ jobs:
with:
bun-version: latest
- name: Update dependencies
- name: Update dependencies and build
run: |
bun install
bun run build
- name: Commit updates
- name: Checkout dist branch
uses: actions/checkout@v4
with:
ref: dist
clean: false
- name: Commit and push to dist branch
run: |
git config user.name "gitea-actions[bot]"
git config user.email "gitea-actions[bot]@git.z0x.ca"
git add -f dist
git commit -m "ci(dist): build dist"
git push
git push origin dist

19
dist/404.html vendored
View file

@ -1,19 +0,0 @@
<!DOCTYPE html><html lang="en"> <head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="icon" type="image/x-icon" href="/assets/favicon.webp"><link rel="canonical" href="https://z0x.ca"><title>z0x</title><meta name="title" content="z0x"><meta name="description" content="z0x"><meta property="og:type" content="website"><meta property="og:url" content="https://z0x.ca"><meta property="og:title" content="z0x"><meta property="og:description" content="z0x"><meta property="twitter:url" content="https://z0x.ca"><meta property="twitter:title" content="z0x"><meta property="twitter:description" content="z0x"><meta name="darkreader-lock"><script type="module" src="/_astro/Head.astro_astro_type_script_index_0_lang.DmZ1O4Sl.js"></script><link rel="stylesheet" href="/_astro/index.J2PPqc8-.css"><script>
(function () {
var script = document.createElement("script")
var viewTransitionsEnabled = document.querySelector("meta[name='astro-view-transitions-enabled']")?.content
script.setAttribute("src", "https://umami.z0x.ca/script.js")
script.setAttribute("defer", true)
script.setAttribute("data-website-id", "343a00a4-7e34-4177-b07c-dce26ffc1b50")
if (!!viewTransitionsEnabled) {
script.setAttribute("data-astro-rerun", true)
}
var head = document.querySelector("head")
head.appendChild(script)
})()
</script></head> <body> <main> <p class="relative text-4xl font-semibold text-white"> <span class="absolute inset-0 opacity-0 blur-md motion-text bg-white/50"></span> <span class="relative opacity-0 motion-text">404</span> </p> <img src="/_astro/logo.C87qHtoi_Z2vYFxD.svg" alt="logo" loading="eager" width="256" height="256" decoding="async" class="w-48 opacity-0 motion-logo"> </main> <footer class="sticky bottom-0 motion-footer opacity-0 text-xs text-center text-white/60 sm:text-sm"> <p>
&copy; 2025 • <a href="https://z0x.ca?utm_source=z0x.ca" class="transition hover:text-white/80">z0x</a> </p> <p>All rights reserved.</p> </footer> </body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,37 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="256"
height="256"
viewBox="0 0 256 256"
version="1.1"
id="svg1"
xml:space="preserve"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"><defs
id="defs1"><linearGradient
id="linearGradient10"><stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop10" /><stop
style="stop-color:#ffffff;stop-opacity:0;"
offset="1"
id="stop11" /></linearGradient><radialGradient
xlink:href="#linearGradient10"
id="radialGradient15"
cx="128.00018"
cy="128.00395"
fx="128.00018"
fy="128.00395"
r="73.343147"
gradientUnits="userSpaceOnUse" /></defs><path
style="display:inline;fill:url(#radialGradient15);stroke-width:1.18365"
d="M 55.824663,125.40476 125.21246,55.832186 a 3.9865567,3.9865567 0.02025256 0 1 5.64732,0.002 l 69.31756,69.600498 a 4.0005896,4.0005896 90.112473 0 1 -0.0111,5.65726 l -69.34652,69.08498 a 4.0135339,4.0135339 0.01148544 0 1 -5.6664,-0.001 L 55.832634,131.06116 a 3.9993654,3.9993654 89.919265 0 1 -0.008,-5.6564 z M 125.77344,89.300192 89.179269,125.4342 a 3.9542778,3.9542778 90.033181 0 0 -0.0033,5.62424 l 36.551738,36.17581 a 4.0462516,4.0462516 0.03318674 0 0 5.68928,0.003 l 36.59418,-36.13401 a 3.9542766,3.9542766 90.033183 0 0 0.003,-5.62424 L 131.46272,89.303486 a 4.0462513,4.0462513 0.03317792 0 0 -5.68928,-0.0033 z"
id="blur"
transform="matrix(1.6906828,0,0,1.6906828,-85.407698,-89.414059)" /><path
style="display:inline;fill:#0a0a0a;fill-opacity:1;stroke:none;stroke-width:1.18365;stroke-opacity:1"
d="M 55.824663,125.40476 125.21246,55.832186 a 3.9865567,3.9865567 0.02025256 0 1 5.64732,0.002 l 69.31756,69.600498 a 4.0005896,4.0005896 90.112473 0 1 -0.0111,5.65726 l -69.34652,69.08498 a 4.0135339,4.0135339 0.01148544 0 1 -5.6664,-0.001 L 55.832634,131.06116 a 3.9993654,3.9993654 89.919265 0 1 -0.008,-5.6564 z M 125.77344,89.300192 89.179269,125.4342 a 3.9542778,3.9542778 90.033181 0 0 -0.0033,5.62424 l 36.551738,36.17581 a 4.0462516,4.0462516 0.03318674 0 0 5.68928,0.003 l 36.59418,-36.13401 a 3.9542766,3.9542766 90.033183 0 0 0.003,-5.62424 L 131.46272,89.303486 a 4.0462513,4.0462513 0.03317792 0 0 -5.68928,-0.0033 z"
id="diamond"
transform="matrix(1.6906828,0,0,1.6906828,-92.40771,-92.414083)" /></svg>

Before

Width:  |  Height:  |  Size: 2.5 KiB

View file

@ -1,60 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="64"
height="64"
viewBox="0 0 32 32"
version="1.1"
id="svg1"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1">
<linearGradient
id="linearGradient2">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop2" />
<stop
style="stop-color:#ffffff;stop-opacity:0;"
offset="1"
id="stop3" />
</linearGradient>
<radialGradient
xlink:href="#linearGradient2"
id="radialGradient3"
cx="16"
cy="16"
fx="16"
fy="16"
r="6"
gradientUnits="userSpaceOnUse" />
<filter
style="color-interpolation-filters:sRGB"
id="filter3"
x="-0.6"
y="-0.6"
width="2.2"
height="2.2">
<feGaussianBlur
stdDeviation="2 2"
result="blur"
id="feGaussianBlur3" />
</filter>
</defs>
<circle
style="fill:url(#radialGradient3);stroke-width:2;stroke-linejoin:round;filter:url(#filter3)"
id="path2"
cx="16"
cy="16"
r="4" />
<circle
style="fill:#ffffff;fill-opacity:1;stroke-width:2;stroke-linejoin:round"
id="path1"
cx="16"
cy="16"
r="2" />
</svg>

Before

Width:  |  Height:  |  Size: 1.4 KiB

View file

@ -1,128 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="256"
height="256"
viewBox="0 0 256 256"
version="1.1"
id="svg1"
inkscape:version="1.4 (e7c3feb100, 2024-10-09)"
xml:space="preserve"
sodipodi:docname="drawing4.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"><sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="true"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="px"
showborder="true"
borderlayer="true"
labelstyle="default"
inkscape:antialias-rendering="true"
inkscape:clip-to-page="false"
showguides="false"
inkscape:zoom="1.9533649"
inkscape:cx="73.462976"
inkscape:cy="136.68721"
inkscape:window-width="1402"
inkscape:window-height="892"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg1" /><defs
id="defs1"><linearGradient
id="linearGradient10"
inkscape:collect="always"><stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop10" /><stop
style="stop-color:#ffffff;stop-opacity:0;"
offset="1"
id="stop11" /></linearGradient><inkscape:path-effect
effect="fillet_chamfer"
id="path-effect5"
is_visible="true"
lpeversion="1"
nodesatellites_param="F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1 | F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1"
radius="4"
unit="px"
method="auto"
mode="F"
chamfer_steps="1"
flexible="false"
use_knot_distance="true"
apply_no_radius="true"
apply_with_radius="true"
only_selected="false"
hide_knots="false" /><inkscape:path-effect
effect="fillet_chamfer"
id="path-effect3"
is_visible="true"
lpeversion="1"
nodesatellites_param="F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1 | F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1"
radius="4"
unit="px"
method="auto"
mode="F"
chamfer_steps="1"
flexible="false"
use_knot_distance="true"
apply_no_radius="true"
apply_with_radius="true"
only_selected="false"
hide_knots="false" /><inkscape:path-effect
effect="fillet_chamfer"
id="path-effect1"
is_visible="true"
lpeversion="1"
nodesatellites_param="F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1 | F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1 @ F,0,0,1,0,4,0,1"
radius="4"
unit="px"
method="auto"
mode="F"
chamfer_steps="1"
flexible="false"
use_knot_distance="true"
apply_no_radius="true"
apply_with_radius="true"
only_selected="false"
hide_knots="false" /><radialGradient
inkscape:collect="always"
xlink:href="#linearGradient10"
id="radialGradient15"
cx="128.00018"
cy="128.00395"
fx="128.00018"
fy="128.00395"
r="73.343147"
gradientUnits="userSpaceOnUse" /></defs><rect
style="fill:#141414;fill-opacity:1;stroke-width:1.96924;stroke-linejoin:round"
id="bg"
width="256"
height="256"
x="0"
y="0"
ry="16" /><path
style="display:inline;fill:url(#radialGradient15);stroke-width:1.18365"
d="M 55.824663,125.40476 125.21246,55.832186 a 3.9865567,3.9865567 0.02025256 0 1 5.64732,0.002 l 69.31756,69.600498 a 4.0005896,4.0005896 90.112473 0 1 -0.0111,5.65726 l -69.34652,69.08498 a 4.0135339,4.0135339 0.01148544 0 1 -5.6664,-0.001 L 55.832634,131.06116 a 3.9993654,3.9993654 89.919265 0 1 -0.008,-5.6564 z M 125.77344,89.300192 89.179269,125.4342 a 3.9542778,3.9542778 90.033181 0 0 -0.0033,5.62424 l 36.551738,36.17581 a 4.0462516,4.0462516 0.03318674 0 0 5.68928,0.003 l 36.59418,-36.13401 a 3.9542766,3.9542766 90.033183 0 0 0.003,-5.62424 L 131.46272,89.303486 a 4.0462513,4.0462513 0.03317792 0 0 -5.68928,-0.0033 z"
id="blur"
sodipodi:nodetypes="cccccccccc"
inkscape:path-effect="#path-effect5"
inkscape:original-d="M 53,128.23695 128.03712,53 203,128.26886 127.98594,203 Z m 75.61971,-41.747233 -42.286707,41.754953 42.237757,41.80335 42.28672,-41.75495 z"
transform="matrix(1.6906828,0,0,1.6906828,-85.407698,-89.414059)" /><path
style="display:inline;fill:#0a0a0a;fill-opacity:1;stroke:none;stroke-width:1.18365;stroke-opacity:1"
d="M 55.824663,125.40476 125.21246,55.832186 a 3.9865567,3.9865567 0.02025256 0 1 5.64732,0.002 l 69.31756,69.600498 a 4.0005896,4.0005896 90.112473 0 1 -0.0111,5.65726 l -69.34652,69.08498 a 4.0135339,4.0135339 0.01148544 0 1 -5.6664,-0.001 L 55.832634,131.06116 a 3.9993654,3.9993654 89.919265 0 1 -0.008,-5.6564 z M 125.77344,89.300192 89.179269,125.4342 a 3.9542778,3.9542778 90.033181 0 0 -0.0033,5.62424 l 36.551738,36.17581 a 4.0462516,4.0462516 0.03318674 0 0 5.68928,0.003 l 36.59418,-36.13401 a 3.9542766,3.9542766 90.033183 0 0 0.003,-5.62424 L 131.46272,89.303486 a 4.0462513,4.0462513 0.03317792 0 0 -5.68928,-0.0033 z"
id="diamond"
sodipodi:nodetypes="cccccccccc"
inkscape:path-effect="#path-effect1"
inkscape:original-d="M 53,128.23695 128.03712,53 203,128.26886 127.98594,203 Z m 75.61971,-41.747233 -42.286707,41.754953 42.237757,41.80335 42.28672,-41.75495 z"
transform="matrix(1.6906828,0,0,1.6906828,-92.40771,-92.414083)" /></svg>

Before

Width:  |  Height:  |  Size: 5.8 KiB

19
dist/index.html vendored
View file

@ -1,19 +0,0 @@
<!DOCTYPE html><html lang="en"> <head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="icon" type="image/x-icon" href="/assets/favicon.webp"><link rel="canonical" href="https://z0x.ca"><title>z0x</title><meta name="title" content="z0x"><meta name="description" content="z0x"><meta property="og:type" content="website"><meta property="og:url" content="https://z0x.ca"><meta property="og:title" content="z0x"><meta property="og:description" content="z0x"><meta property="twitter:url" content="https://z0x.ca"><meta property="twitter:title" content="z0x"><meta property="twitter:description" content="z0x"><meta name="darkreader-lock"><script type="module" src="/_astro/Head.astro_astro_type_script_index_0_lang.DmZ1O4Sl.js"></script><link rel="stylesheet" href="/_astro/index.J2PPqc8-.css"><script>
(function () {
var script = document.createElement("script")
var viewTransitionsEnabled = document.querySelector("meta[name='astro-view-transitions-enabled']")?.content
script.setAttribute("src", "https://umami.z0x.ca/script.js")
script.setAttribute("defer", true)
script.setAttribute("data-website-id", "343a00a4-7e34-4177-b07c-dce26ffc1b50")
if (!!viewTransitionsEnabled) {
script.setAttribute("data-astro-rerun", true)
}
var head = document.querySelector("head")
head.appendChild(script)
})()
</script></head> <body> <main> <p class="relative text-4xl font-semibold text-white"> <span class="absolute inset-0 opacity-0 blur-md motion-text bg-white/50"></span> <span class="relative opacity-0 motion-text">z0x</span> </p> <img src="/_astro/logo.C87qHtoi_Z2vYFxD.svg" alt="logo" loading="eager" width="256" height="256" decoding="async" class="w-48 opacity-0 motion-logo"> <ul class="flex gap-6"> <li class="opacity-0 motion-links group"> <a aria-label="blog" href="https://blog.z0x.ca" target="_blank" class="flex relative justify-center items-center w-12 text-white transition aspect-square hover:text-white/60"> <div class="absolute inset-0 aspect-square h-12 bg-white/10 rounded-md"></div> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="relative w-8 aspect-square transition"> <path d="M6 4h11a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-11a1 1 0 0 1 -1 -1v-14a1 1 0 0 1 1 -1m3 0v18"></path> <path d="M13 8l2 0"></path> <path d="M13 12l2 0"></path> </svg> </a> </li> <li class="opacity-0 motion-links group"> <a aria-label="matrix" href="https://matrix.to/#/@z0x:z0x.ca" target="_blank" class="flex relative justify-center items-center w-12 text-white transition aspect-square hover:text-white/60"> <div class="absolute inset-0 aspect-square h-12 bg-white/10 rounded-md"></div> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="relative w-8 aspect-square transition"> <path d="M4 3h-1v18h1"></path> <path d="M20 21h1v-18h-1"></path> <path d="M7 9v6"></path> <path d="M12 15v-3.5a2.5 2.5 0 1 0 -5 0v.5"></path> <path d="M17 15v-3.5a2.5 2.5 0 1 0 -5 0v.5"></path> </svg> </a> </li> <li class="opacity-0 motion-links group"> <a aria-label="telegram" href="https://t.me/zesfca" target="_blank" class="flex relative justify-center items-center w-12 text-white transition aspect-square hover:text-white/60"> <div class="absolute inset-0 aspect-square h-12 bg-white/10 rounded-md"></div> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="relative w-8 aspect-square transition"> <path d="M15 10l-4 4l6 6l4 -16l-18 7l4 2l2 6l3 -4"></path> </svg> </a> </li> </ul> </main> <footer class="sticky bottom-0 motion-footer opacity-0 text-xs text-center text-white/60 sm:text-sm"> <p>
&copy; 2025 • <a href="https://z0x.ca?utm_source=z0x.ca" class="transition hover:text-white/80">z0x</a> </p> <p>All rights reserved.</p> </footer> </body></html>