ci
Some checks failed
Deploy App / docker (ubuntu-latest) (push) Has been cancelled

This commit is contained in:
Lee 2024-04-22 02:31:02 +01:00
parent 69fd6483de
commit 230e5d6864
3 changed files with 18 additions and 1 deletions

@ -30,7 +30,12 @@ ENV GIT_REV ${GIT_REV}
ENV NEXT_TELEMETRY_DISABLED 1
# Build the frontend
RUN pnpm run build
RUN \
if [ -f yarn.lock ]; then yarn run build; \
elif [ -f package-lock.json ]; then npm run build; \
elif [ -f pnpm-lock.yaml ]; then corepack enable pnpm && pnpm run build; \
else echo "Lockfile not found." && exit 1; \
fi
# Run postbuild tasks
RUN pnpm run postbuild

9
public/robots.txt Normal file

@ -0,0 +1,9 @@
# *
User-agent: *
Allow: /
# Host
Host: https://mcutils.xyz
# Sitemaps
Sitemap: https://mcutils.xyz/sitemap.xml

3
public/sitemap.xml Normal file

@ -0,0 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
</sitemapindex>