From 5a7c8fce140151ec50aa00a499d124e36e2e021f Mon Sep 17 00:00:00 2001 From: Elwin Schmitz Date: Mon, 29 Jan 2024 10:08:53 +0100 Subject: [PATCH] feat: Add env-specific icons --- .github/workflows/deploy-private-faq.yml | 6 ++++-- .github/workflows/deploy-production-faq.yml | 5 +++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-private-faq.yml b/.github/workflows/deploy-private-faq.yml index f974dddf..3233c103 100644 --- a/.github/workflows/deploy-private-faq.yml +++ b/.github/workflows/deploy-private-faq.yml @@ -63,13 +63,15 @@ jobs: run: 'npm ci --no-fund --no-audit' - name: Set/override favicon.ico - run: 'cp --force src/favicon.gold.ico src/favicon.ico' + run: | + echo "AAABAAEAEBAQAAEABAAoAQAAFgAAACgAAAAQAAAAIAAAAAEABAAAAAAAgAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAA////AAAA/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQAQAQEAAQABABAQEAABEQEREBABAAEAAQAQEAEAAQABABAQAQABEQARAAEQAAAAAAAAAAABEREREREREREREREiERERERERESIREREREREiIiIRERERESIiIhERERERESIRERERERERIhEREREREREREREREAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | base64 --decode > src/favicon.env.ico + cp --force src/favicon.env.ico src/favicon.ico - name: Build run: 'npm run build:production' env: NG_PRODUCTION: 'true' - ENV_NAME: 'Private-FAQ' + ENV_NAME: 'Internal Only' NG_USE_SERVICE_WORKER: 'true' NG_USE_OFFERS: 'true' NG_USE_Q_AND_AS: 'true' diff --git a/.github/workflows/deploy-production-faq.yml b/.github/workflows/deploy-production-faq.yml index 1ecfaeae..6c611d66 100644 --- a/.github/workflows/deploy-production-faq.yml +++ b/.github/workflows/deploy-production-faq.yml @@ -47,6 +47,11 @@ jobs: HUSKY: 0 run: 'npm ci --no-fund --no-audit' + - name: Set/override favicon.ico + run: | + echo "AAABAAEAEBAQAAEABAAoAQAAFgAAACgAAAAQAAAAIAAAAAEABAAAAAAAgAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAA////AAAA/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEREREREREREQEREBEBEBARAREQEQEBAREBERAAAQEQEQABEBEBARARAREQEQEBEBEAABEAERABEREREREREREREREREREREREREREiERERERERESIREREREREiIiIRERERESIiIhERERERESIRERERERERIhEREREREREREREREAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | base64 --decode > src/favicon.env.ico + cp --force src/favicon.env.ico src/favicon.ico + - name: Build run: 'npm run build:production' env: