[Closes #17] Fixed issues in deploy pipeline and modified some Forgejo templates
All checks were successful
Production Build and Deploy / Build (push) Successful in 1m25s
Production Build and Deploy / Deploy (push) Successful in 22s

This commit is contained in:
Liviu Burcusel 2026-01-13 11:23:22 +01:00
parent 845f830ab3
commit 7e17984377
Signed by: liviu
GPG key ID: 6CDB37A4AD2C610C
10 changed files with 12 additions and 11 deletions

View file

@ -1,11 +1,6 @@
## Description
### Proposed Changes
-
-
### Checklist before submitting
- [ ] I followed the guidelines in our [Contributing document](https://github.com/lburcusel/glowing-fiesta/blob/production/CONTRIBUTING.md)
- [ ] I followed the guidelines in our [Contributing document](https://git.burcusel.nl/public/glowing-fiesta/blob/production/CONTRIBUTING.md)
- [ ] My submission pass all tests

View file

@ -26,6 +26,7 @@ jobs:
- name: Install dependencies
run: npm ci
env:
NUXT_PUBLIC_SITE_URL: ${{ vars.NUXT_PUBLIC_SITE_URL }}
DATABASE_URL: "N/A"
BETTER_AUTH_SECRET: "N/A"
BETTER_AUTH_URL: "N/A"
@ -42,6 +43,7 @@ jobs:
- name: Build site
env:
NITRO_PRESET: node_cluster
NUXT_PUBLIC_SITE_URL: ${{ vars.NUXT_PUBLIC_SITE_URL }}
DATABASE_URL: "N/A"
BETTER_AUTH_SECRET: "N/A"
BETTER_AUTH_URL: "N/A"

View file

@ -23,6 +23,7 @@ jobs:
- name: Install dependencies
run: npm ci
env:
NUXT_PUBLIC_SITE_URL: ${{ vars.NUXT_PUBLIC_SITE_URL }}
DATABASE_URL: "N/A"
BETTER_AUTH_SECRET: "N/A"
BETTER_AUTH_URL: "N/A"

View file

@ -12,7 +12,7 @@ useSeoMeta({
ogTitle: "Glowing Fiesta - Create Account",
description: "This is the create account page of a very nice all-purpose application",
ogDescription: "This is the create account page of a very nice all-purpose application",
ogImage: config.public.hostUrl + "/images/human.png",
ogImage: config.public.siteUrl + "/images/human.png",
});
</script>

View file

@ -12,7 +12,7 @@ useSeoMeta({
ogTitle: "Glowing Fiesta - Login",
description: "This is the login page of a very nice all-purpose application",
ogDescription: "This is the login page of a very nice all-purpose application",
ogImage: config.public.hostUrl + "/images/human.png",
ogImage: config.public.siteUrl + "/images/human.png",
});
</script>

View file

@ -19,7 +19,7 @@ useSeoMeta({
ogTitle: "Glowing Fiesta - Logout",
description: "This is the logout page of a very nice all-purpose application",
ogDescription: "This is the logout page of a very nice all-purpose application",
ogImage: config.public.hostUrl + "/images/human.png",
ogImage: config.public.siteUrl + "/images/human.png",
});
</script>

View file

@ -21,7 +21,7 @@ useSeoMeta({
ogTitle: "Glowing Fiesta - Homepage",
description: "This is the homepage of a very nice all-purpose application",
ogDescription: "This is the homepage of a very nice all-purpose application",
ogImage: config.public.hostUrl + "/images/human.png",
ogImage: config.public.siteUrl + "/images/human.png",
});
</script>

View file

@ -10,7 +10,7 @@ export default defineNuxtConfig({
compatibilityDate: "2025-07-15",
runtimeConfig: {
public: {
hostUrl: env.BETTER_AUTH_URL,
siteUrl: env.NUXT_PUBLIC_SITE_URL,
appVersion: packageJsonContent.version,
},
},

View file

@ -2,6 +2,7 @@ import { z } from "zod";
const EnvSchema = z.object({
NODE_ENV: z.string(),
NUXT_PUBLIC_SITE_URL: z.string(),
DATABASE_URL: z.string(),
BETTER_AUTH_SECRET: z.string(),
BETTER_AUTH_URL: z.string(),

View file

@ -9,6 +9,7 @@ describe("shared/utils/env", () => {
vi.resetModules();
process.env = { ...originalEnv };
process.env.NODE_ENV = "test";
process.env.NUXT_PUBLIC_SITE_URL = "http://localhost:3000";
process.env.DATABASE_URL = "postgres://localhost:5432/db";
process.env.BETTER_AUTH_SECRET = "secret";
process.env.BETTER_AUTH_URL = "http://localhost:3000";
@ -23,6 +24,7 @@ describe("shared/utils/env", () => {
expect(env).toEqual({
NODE_ENV: "test",
NUXT_PUBLIC_SITE_URL: "http://localhost:3000",
DATABASE_URL: "postgres://localhost:5432/db",
BETTER_AUTH_SECRET: "secret",
BETTER_AUTH_URL: "http://localhost:3000",