Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed yaml file to use pnpm #9

Merged
merged 1 commit into from
Feb 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: cd portfolio && npm ci && npm run build
- run: npm i -g pnpm && cd portfolio && pnpm install && pnpm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools

name: Deploy to Firebase Hosting on PR
on: pull_request
permissions:
checks: write
contents: read
pull-requests: write
jobs:
build_and_preview:
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm i -g pnpm && cd portfolio && pnpm install && pnpm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_SHAWALMBALIRECOM }}
projectId: shawalmbalirecom
6 changes: 3 additions & 3 deletions portfolio/src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ header{

/* Light Theme */
.light-theme {
--backgroundColor: white;
--backgroundColor: #edf5fc; /* Softer blue hue */
--fontColor: black;
--glassColor: black;
--iconColor: black;
--glowColor: rgba(0, 0, 0, 0.2);
--primaryColor: white;
--primaryColor: #edf5fc; /* Softer blue hue */
--secondaryColor: black;
--tertiaryColor: blue;

Expand Down Expand Up @@ -92,5 +92,5 @@ header{
body {
background-color: var(--backgroundColor);
color: var(--fontColor);
/* transition: background-color 0.05s ease, color 0.05s ease; */
transition: background-color 0.5s ease, color 0.5s ease;
}