Compare commits

...

38 Commits

Author SHA1 Message Date
Raghu Chagarlamudi
67efdc2767 update header.component.scss
All checks were successful
Deploy Portfolio / deploy (push) Successful in 32s
2025-12-23 15:33:56 -05:00
Raghu Chagarlamudi
1e821629e5 update home.component.scss
Some checks failed
Deploy Portfolio / deploy (push) Failing after 2m1s
2025-12-23 15:16:57 -05:00
Raghu Chagarlamudi
8909de8cbe update assest path
Some checks failed
Deploy Portfolio / deploy (push) Failing after 2m9s
2025-12-23 11:35:17 -05:00
c44e053460 check notifications final
All checks were successful
Deploy Portfolio / deploy (push) Successful in 1m35s
2025-12-15 20:01:03 -05:00
2623d39505 check failure notifications
Some checks failed
Deploy Portfolio / deploy (push) Failing after 0s
2025-12-15 19:50:50 -05:00
c245439137 update again
All checks were successful
Deploy Portfolio / deploy (push) Successful in 1m34s
2025-12-15 19:37:42 -05:00
b559efc8df add curl for test
Some checks failed
Deploy Portfolio / deploy (push) Failing after 1m34s
2025-12-15 19:35:07 -05:00
c07a20afa0 add discord notifications
Some checks failed
Deploy Portfolio / deploy (push) Failing after 1m34s
2025-12-15 19:29:58 -05:00
6f22fcbd90 test 77
Some checks failed
Deploy Portfolio / deploy (push) Failing after 1m34s
2025-12-15 18:30:15 -05:00
4c87b76e21 test notification final
Some checks failed
Deploy Portfolio / deploy (push) Failing after 1m34s
2025-12-15 18:26:22 -05:00
b3052e2a4a try another way
Some checks failed
Deploy Portfolio / deploy (push) Failing after 1m34s
2025-12-15 18:21:50 -05:00
d01fdaae59 test
Some checks failed
Deploy Portfolio / deploy (push) Failing after 1m34s
2025-12-15 18:17:25 -05:00
9c7dfe51a7 update notifications
Some checks failed
Deploy Portfolio / deploy (push) Failing after 1m35s
2025-12-15 18:11:22 -05:00
6994d7035c check notifications
Some checks failed
Deploy Portfolio / deploy (push) Failing after 2m23s
2025-12-15 17:52:51 -05:00
6783226d73 test build timings
All checks were successful
Deploy Portfolio / deploy (push) Successful in 1m36s
2025-12-14 20:00:42 -05:00
5f5dca2162 add .dockerignore & update Dockerfile
All checks were successful
Deploy Portfolio / deploy (push) Successful in 1m34s
2025-12-14 19:51:40 -05:00
ba692d8c26 update button text
Some checks failed
Deploy Portfolio / deploy (push) Has been cancelled
2025-12-14 19:31:14 -05:00
e42f5f5245 test final
All checks were successful
Deploy Portfolio / deploy (push) Successful in 2m53s
2025-12-14 19:23:57 -05:00
1440b80489 test 102
Some checks failed
Deploy Portfolio / deploy (push) Has been cancelled
2025-12-14 18:07:19 -05:00
8de25f383c test 100
Some checks failed
Deploy Portfolio / deploy (push) Has been cancelled
2025-12-14 18:04:36 -05:00
96107e38da Test CI/CD trigger
Some checks failed
Deploy Portfolio / deploy (push) Failing after 0s
2025-12-14 18:00:39 -05:00
8af10bb49b test92
Some checks failed
Deploy Portfolio / deploy (push) Failing after 1s
2025-12-14 17:45:07 -05:00
ab27413e3f test56
Some checks failed
Deploy Portfolio / deploy (push) Failing after 1s
2025-12-14 17:39:21 -05:00
af8cff971e update45
Some checks failed
Deploy Portfolio / deploy (push) Failing after 1s
2025-12-14 17:32:00 -05:00
99351fc72e test23
Some checks failed
Deploy Portfolio / deploy (push) Failing after 1s
2025-12-14 17:22:19 -05:00
de79112450 test ci/cd
Some checks failed
Deploy Portfolio / deploy (push) Failing after 1s
2025-12-14 17:20:10 -05:00
32b1689c40 Test CI/CD trigger
Some checks failed
Deploy Portfolio / deploy (push) Failing after 2s
2025-12-14 15:29:39 -05:00
976e3fe19c update build to take docker
Some checks failed
Deploy Portfolio / deploy (push) Failing after 1s
2025-12-14 15:27:50 -05:00
156f0a04f3 fix build issue
Some checks failed
Deploy Portfolio / deploy (push) Failing after 39s
2025-12-14 15:21:35 -05:00
85ee9a7702 update deploy.yml
Some checks failed
Deploy Portfolio / deploy (push) Failing after 42s
2025-12-14 15:19:18 -05:00
6a7e47c3fb create deploy.yml
Some checks failed
Deploy Portfolio / deploy (push) Failing after 1m6s
2025-12-14 15:16:23 -05:00
6d9c6d5a2c Test CI/CD trigger 2025-12-14 15:14:23 -05:00
62756e04c3 Test CI/CD trigger 2025-12-14 15:12:03 -05:00
76ed52481e delete deploy.yml 2025-12-14 15:03:17 -05:00
c6ce880435 update deploy.yml
Some checks failed
Deploy Portfolio / deploy (push) Failing after 1m7s
2025-12-14 14:23:22 -05:00
6c2cfc6e1b update prettierrc
Some checks failed
Deploy Portfolio / deploy (push) Failing after 28s
2025-12-13 21:14:52 -05:00
c972dd1f1c kick in deploy job test
Some checks failed
Deploy Portfolio / deploy (push) Failing after 37s
2025-12-13 18:15:47 -05:00
251163aef7 update BIOME js
Some checks failed
Deploy Portfolio / deploy (push) Has been cancelled
2025-12-13 18:03:55 -05:00
10 changed files with 124 additions and 57 deletions

12
.dockerignore Normal file
View File

@@ -0,0 +1,12 @@
node_modules
.git
.gitignore
.angular
dist
*.md
.vscode
.idea
*.log
npm-debug.log*
.DS_Store
.gitea

View File

@@ -3,29 +3,81 @@ name: Deploy Portfolio
on: on:
push: push:
branches: [main] branches: [main]
workflow_dispatch:
jobs: jobs:
deploy: deploy:
runs-on: self-hosted runs-on: self-hosted
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Build Angular
run: npm run build -- --configuration production
- name: Deploy to NAS
run: | run: |
echo "Deploy started at $(date)" rm -rf * .git
rm -rf /volume1/web/www/rc-portfolio/* git clone "https://code.chagarlamudi.net/raghu-ch/rc-portfolio.git" .
cp -r dist/* /volume1/web/www/rc-portfolio/
echo "Deploy finished at $(date)" - name: Build Docker image
run: docker build -t rc-portfolio:latest .
- name: Stop old container
run: docker stop rc-portfolio || true
- name: Remove old container
run: docker rm rc-portfolio || true
- name: Run new container
run: |
docker run -d \
--name rc-portfolio \
--restart unless-stopped \
-p 8080:80 \
rc-portfolio:latest
- name: Clean up old images
run: docker image prune -f
- name: Install curl
run: |
if ! command -v curl >/dev/null 2>&1; then
if command -v apt >/dev/null 2>&1; then
apt update && sudo apt install -y curl
elif command -v apk >/dev/null 2>&1; then
apk add curl
elif command -v yum >/dev/null 2>&1; then
yum install -y curl
fi
fi
- name: Set Discord mention
id: discord
run: |
echo "mention=<@${{ secrets.DISCORD_ID_RAGHU }}>" >> $GITEA_OUTPUT
# Success notification
- name: Discord Success Notification
if: success()
run: |
curl -X POST -H "Content-Type: application/json" \
-d "{
\"content\": \"✅ **Deployment SUCCESS**\n\
🧑‍💻 ${{ steps.discord.outputs.mention }}\n\
🗂️ Repo: ${{ gitea.repository }}\n\
🌲 Branch: ${{ gitea.ref_name }}\n\
🧷 Commit: [${{ steps.commit.outputs.short_sha }}](${{ steps.commit.outputs.url }})\n\
✏️ Message: ${{ steps.message.outputs.msg }}\"
}" \
${{ secrets.DISCORD_WEBHOOK_URL }}
# Failure notification
- name: Discord Failure Notification
if: failure()
run: |
curl -X POST -H "Content-Type: application/json" \
-d "{
\"content\": \"❌ **Deployment FAILED**\n\
🧑‍💻 ${{ steps.discord.outputs.mention }}\n\
🗂️ Repo: ${{ gitea.repository }}\n\
🌲 Branch: ${{ gitea.ref_name }}\n\
🧷 Commit: [${{ steps.commit.outputs.short_sha }}](${{ steps.commit.outputs.url }})\n\
✏️ Message: ${{ steps.message.outputs.msg }}\n\
🔍 Check Gitea Actions logs\"
}" \
${{ secrets.DISCORD_WEBHOOK_URL }}

View File

@@ -2,7 +2,7 @@
"semi": true, "semi": true,
"trailingComma": "es5", "trailingComma": "es5",
"singleQuote": true, "singleQuote": true,
"printWidth": 120, "printWidth": 130,
"tabWidth": 2, "tabWidth": 2,
"endOfLine": "auto", "endOfLine": "auto",
"bracketSpacing": true, "bracketSpacing": true,

View File

@@ -8,7 +8,7 @@ WORKDIR /app
COPY package*.json ./ COPY package*.json ./
# Install specific version of Angular CLI globally # Install specific version of Angular CLI globally
RUN npm install -g @angular/cli # RUN npm install -g @angular/cli
# Install project dependencies # Install project dependencies
RUN npm ci RUN npm ci

View File

@@ -1,34 +1,34 @@
{ {
"$schema": "https://biomejs.dev/schemas/2.3.8/schema.json", "$schema": "https://biomejs.dev/schemas/2.3.8/schema.json",
"vcs": { "vcs": {
"enabled": true, "enabled": true,
"clientKind": "git", "clientKind": "git",
"useIgnoreFile": true "useIgnoreFile": true
}, },
"files": { "files": {
"ignoreUnknown": false "ignoreUnknown": false
}, },
"formatter": { "formatter": {
"enabled": true, "enabled": true,
"indentStyle": "tab" "indentStyle": "tab"
}, },
"linter": { "linter": {
"enabled": true, "enabled": true,
"rules": { "rules": {
"recommended": true "recommended": true
} }
}, },
"javascript": { "javascript": {
"formatter": { "formatter": {
"quoteStyle": "double" "quoteStyle": "single"
} }
}, },
"assist": { "assist": {
"enabled": true, "enabled": true,
"actions": { "actions": {
"source": { "source": {
"organizeImports": "on" "organizeImports": "on"
} }
} }
} }
} }

View File

Before

Width:  |  Height:  |  Size: 91 KiB

After

Width:  |  Height:  |  Size: 91 KiB

View File

Before

Width:  |  Height:  |  Size: 91 KiB

After

Width:  |  Height:  |  Size: 91 KiB

View File

@@ -15,7 +15,7 @@
align-items: center; align-items: center;
&__avatar { &__avatar {
background-image: url("../../assests/images/rc-header-logo.jpeg"); background-image: url("../../../public/assests/images/rc-header-logo.jpeg");
background-size: cover; background-size: cover;
height: 40px; height: 40px;
width: 40px; width: 40px;

View File

@@ -5,6 +5,9 @@
<div class="intro__circle intro__circle--small"></div> <div class="intro__circle intro__circle--small"></div>
</div> </div>
<h1 class="intro__header">Hi 👋, I'm Raghu Chagarlamudi</h1> <h1 class="intro__header">Hi 👋, I'm Raghu Chagarlamudi</h1>
<p class="intro__sub-head">I am a well-versed front-end web developer with extensive experience in building delightful and scalable web applications.</p> <p class="intro__sub-head">
I am a well-versed front-end web developer with extensive experience in building delightful and scalable web
applications.
</p>
<a mat-fab extended href="https://www.google.com/" target="_blank" class="intro__button">Get to Know More About Me</a> <a mat-fab extended href="https://www.google.com/" target="_blank" class="intro__button">Get to Know More About Me</a>
</section> </section>

View File

@@ -24,10 +24,10 @@
&--small { &--small {
height: 200px; height: 200px;
width: 200px; width: 200px;
background-image: url("../../assests/images/rc-logo.jpeg"); background-image: url("../../../public//assests/images/rc-logo.jpeg");
background-size: cover; background-size: cover;
top: 50%; top: 50%;
left: 50%; left: 50%;
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
} }
} }