diff --git a/.github/workflows/deploy-react-app.yml b/.github/workflows/deploy-react-app.yml
new file mode 100644
index 0000000..ae99ca1
--- /dev/null
+++ b/.github/workflows/deploy-react-app.yml
@@ -0,0 +1,35 @@
+name: Deploy React App
+
+on:
+ push:
+ branches:
+ - main
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v3
+ with:
+ fetch-depth: 0
+
+ - name: Install Node.js
+ uses: actions/setup-node@v3
+ with:
+ node-version: 16
+
+ - name: Install dependencies
+ run: npm install
+
+ - name: Build React app
+ run: npm run build
+
+ - name: Deploy to GitHub Pages
+ uses: JamesIves/github-pages-deploy-action@v4
+ with:
+ branch: gh-pages
+ folder: dist
+ clean: true
+ single-commit: true
+ token: ${{ secrets.GITHUB_TOKEN }}
diff --git a/README.md b/README.md
index dc36128..f9e0850 100644
--- a/README.md
+++ b/README.md
@@ -11,7 +11,7 @@
❯
- View Demo
+ View Demo
·
Report Bug
·
@@ -46,7 +46,7 @@
## Installation
> [!NOTE]
-> If you prefer not to install it locally, you can also access the [live demo](https://cv-application-0xabdulkhalid.vercel.app/) version
+> If you prefer not to install it locally, you can also access the [live demo](https://0xabdulkhalid.github.io/cv-application/) version
To set up the CV Application locally, follow these steps:
@@ -86,7 +86,7 @@ To set up the CV Application locally, follow these steps:
| |
| |
| |
- | Check out [**Pagespeed Insights**](https://pagespeed.web.dev/analysis/https-cv-application-0xabdulkhalid-vercel-app/02v5pjdoui?form_factor=mobile) to get live score |
+ | Check out [**Pagespeed Insights**](https://pagespeed.web.dev/analysis/https-0xabdulkhalid-github-io-cv-application/hijg2l98gu?form_factor=mobile) to get live score |
||
diff --git a/index.html b/index.html
index 82e6dca..3fb4a84 100644
--- a/index.html
+++ b/index.html
@@ -13,7 +13,7 @@