mirror of
https://github.com/lumina-rocks/lumina.git
synced 2026-04-09 06:56:57 +02:00
make umami variables dynamic when building
This commit is contained in:
3
.github/workflows/cd.yml
vendored
3
.github/workflows/cd.yml
vendored
@@ -85,6 +85,5 @@ jobs:
|
||||
ssh -o StrictHostKeyChecking=no ${{ env.MAIN_HOST_USERNAME }}@${{ env.MAIN_HOST }} '
|
||||
cd lumina &&
|
||||
git pull origin main &&
|
||||
docker compose pull &&
|
||||
docker compose up -d
|
||||
docker compose up -d --build
|
||||
'
|
||||
|
||||
3
.github/workflows/cd_beta.yml
vendored
3
.github/workflows/cd_beta.yml
vendored
@@ -84,6 +84,5 @@ jobs:
|
||||
ssh -o StrictHostKeyChecking=no ${{ env.BETA_HOST_USERNAME }}@${{ env.BETA_HOST }} '
|
||||
cd lumina &&
|
||||
git pull origin beta &&
|
||||
docker compose pull &&
|
||||
docker compose up -d
|
||||
docker compose up -d --build
|
||||
'
|
||||
|
||||
@@ -2,6 +2,6 @@ version: '3'
|
||||
services:
|
||||
lumina:
|
||||
build: .
|
||||
image: ghcr.io/lumina-rocks/lumina:latest
|
||||
# image: ghcr.io/lumina-rocks/lumina:latest
|
||||
ports:
|
||||
- "8080:3000"
|
||||
@@ -39,9 +39,9 @@ export default function RootLayout({
|
||||
<TopNavigation />
|
||||
<Toaster />
|
||||
<Script
|
||||
src="https://umami.softwerk.cloud/script.js"
|
||||
src={`${process.env.NEXT_PUBLIC_UMAMI_URL}/script.js`}
|
||||
strategy="afterInteractive"
|
||||
data-website-id="d0495d49-1f04-4501-8711-3bdcb4f7f7bd"
|
||||
data-website-id={process.env.NEXT_PUBLIC_UMAMI_WEBSITE_ID}
|
||||
defer
|
||||
/>
|
||||
<div className="main-content pb-14">
|
||||
|
||||
Reference in New Issue
Block a user