Wowie what a gay little website for my gay little self aria.coffee
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add commit hiding for docker build fix

Aria be848a1d e14a8dd8

+4 -3
+1 -1
Dockerfile
··· 15 15 RUN apt-get install -y ./oxipng_9.1.3-1_amd64.deb 16 16 RUN rm ./oxipng_9.1.3-1_amd64.deb 17 17 18 - RUN pnpm run build 18 + RUN PUBLIC_COMMIT="" pnpm run build 19 19 20 20 ENV HOST=0.0.0.0 21 21 ENV PORT=4321
+3 -2
src/components/Footer.astro
··· 4 4 import { Icon } from "astro-icon/components"; 5 5 import { execSync } from "node:child_process"; 6 6 7 - const commitURL = `${import.meta.env.PUBLIC_REPOURL}commit/${execSync(`git log -1 --pretty="format:%H"`)}`; 7 + const commitURL = import.meta.env.PUBLIC_COMMIT === "" ? "" : `${import.meta.env.PUBLIC_REPOURL}commit/${execSync(`git log -1 --pretty="format:%H"`)}`; 8 + const COMMIT = import.meta.env.PUBLIC_COMMIT === "" ? "Docker Build!" : `<a href=${commitURL}>${execSync(`git log -1 --pretty="format:%h"`)}</a>`; 8 9 --- 9 10 10 11 <hr class="h-1" style="" /> ··· 13 14 <p> 14 15 | <a href="https://github.com/BuyMyMojo/aria.coffee" target="_blank" 15 16 > <Icon name="mdi:source-branch" class={"svg-inline"}/>Source Code</a 16 - > - Commit:<a href={commitURL}>{execSync(`git log -1 --pretty="format:%h"`)}</a> | <a href="https://aria.coffee/rss.xml" target="_blank" 17 + > - Commit:<Fragment set:html={COMMIT} /> | <a href="https://aria.coffee/rss.xml" target="_blank" 17 18 > <Icon name="mdi:rss" class={"svg-inline"}/>RSS Feed</a 18 19 > | 19 20 </p>