Skip to content

Commit e8714a8

Browse files
committed
changes to fix CNAME file
1 parent b70aec9 commit e8714a8

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/node.js.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@ jobs:
2828
git config --global user.name "github-actions[bot]"
2929
git config --global user.email "github-actions[bot]@users.noreply.github.com"
3030
git clone --depth=1 --branch=gh-pages https://x-access-token:${{ secrets.PORTFOLIO_ACTIONS_TOKEN }}@github.com/GitForceJedi/gitforcejedi.github.io.git deploy-repo
31+
cp deploy-repo/CNAME /tmp/CNAME || echo "No existing CNAME found" # Save CNAME before deleting everything
3132
rm -rf deploy-repo/*
3233
cp -r build/* deploy-repo/
34+
[ -f /tmp/CNAME ] && mv /tmp/CNAME deploy-repo/CNAME # Restore CNAME if it exists
3335
cd deploy-repo
3436
git add .
3537
git commit -m "🚀 Overwrite existing site with new deployment"

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
"build": "react-scripts build",
5151
"test": "react-scripts test",
5252
"eject": "react-scripts eject",
53-
"predeploy": "npm run build && cp public/CNAME build/CNAME",
54-
"deploy": "gh-pages -d build -b gh-pages"
53+
"predeploy": "npm run build",
54+
"deploy": "gh-pages -d build"
5555
},
5656
"devDependencies": {
5757
"gh-pages": "^6.3.0"

src/components/About/AboutBody.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function AboutBody() {
3232
<br /><br />
3333
I have a strong background in Agile/Scrum environments, where I have actively contributed to development teams
3434
to bring applications to production successfully. Additionally, I have implemented CI/CD pipelines, optimizing
35-
the development process for efficient and high-quality software delivery.
35+
the development process for efficient and high-quality software delivery.
3636
<br /><br />
3737
Early in my career, I worked as a Graphic Designer, a background that provides me with a creative edge as a Full
3838
Stack Developer. The transition from Graphic Designer to Web Developer allowed me to merge aesthetic

0 commit comments

Comments
 (0)