Skip to content

Commit

Permalink
feat: Add env-specific icons
Browse files Browse the repository at this point in the history
  • Loading branch information
elwinschmitz committed Jan 29, 2024
1 parent 8ed5d89 commit 5a7c8fc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy-private-faq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/deploy-production-faq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5a7c8fc

Please sign in to comment.