From 00475b4c0f594e9147acb5d6989f12c196c6a87f Mon Sep 17 00:00:00 2001 From: hit25082000 Date: Thu, 19 Sep 2024 22:39:47 -0400 Subject: [PATCH] xd --- .github/workflows/firebase-hosting-merge.yml | 2 +- .github/workflows/firebase-hosting-pull-request.yml | 2 +- firebase.json | 2 +- src/app/features/product-list/product-list.component.ts | 2 +- src/styles.scss | 6 ++++++ 5 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml index 28397a7..2bfb077 100644 --- a/.github/workflows/firebase-hosting-merge.yml +++ b/.github/workflows/firebase-hosting-merge.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - run: npm ci && npm run build + - run: npm deploy - uses: FirebaseExtended/action-hosting-deploy@v0 with: repoToken: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml index 401a64b..a029e53 100644 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ b/.github/workflows/firebase-hosting-pull-request.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - run: npm ci && npm run build + - run: npm deploy - uses: FirebaseExtended/action-hosting-deploy@v0 with: repoToken: ${{ secrets.GITHUB_TOKEN }} diff --git a/firebase.json b/firebase.json index 4f6ed94..12f2d2b 100644 --- a/firebase.json +++ b/firebase.json @@ -1,6 +1,6 @@ { "hosting": { - "public": "dist/ecommerce-app", + "public": "dist/ecommerce-app/browser", "ignore": [ "firebase.json", "**/.*", diff --git a/src/app/features/product-list/product-list.component.ts b/src/app/features/product-list/product-list.component.ts index 2f2bbf4..43a5328 100644 --- a/src/app/features/product-list/product-list.component.ts +++ b/src/app/features/product-list/product-list.component.ts @@ -1,5 +1,5 @@ import { Component, OnInit } from '@angular/core'; -import { ProductService } from '../core/services/product.service'; +import { ProductService } from '../../core/services/product.service'; @Component({ selector: 'app-product-list', diff --git a/src/styles.scss b/src/styles.scss index 90d4ee0..6dc7558 100644 --- a/src/styles.scss +++ b/src/styles.scss @@ -1 +1,7 @@ /* You can add global styles to this file, and also import other style files */ + +body { + background-color: #121212; + color: #ffffff; + font-family: Arial, sans-serif; +}