From 09126049018f34b20e17650f32fdd38cc4935320 Mon Sep 17 00:00:00 2001 From: nickschneider Date: Sun, 27 Oct 2024 19:34:13 +0100 Subject: [PATCH] no cache docker build --- .github/workflows/deploy.yml | 1 + src/app/app.component.ts | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9aa3e12..f92083f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -34,6 +34,7 @@ jobs: context: . tags: ghcr.io/ls1intum/angelos-ui:latest push: true + no-cache: true deploy: needs: build diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 8a67268..d47da3f 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -3,6 +3,9 @@ import { RouterOutlet } from '@angular/router'; import { ChatComponent } from './chat/chat.component'; import { ChatbotService } from './services/chatbot.service'; import { HttpClientModule } from '@angular/common/http'; +import { environment } from '../environments/environment'; + +console.log('Current environment:', environment.production ? 'production' : 'development'); @Component({ selector: 'app-root',