From 2152a0d83bfd0c9a02cfb74643f72839684b1e96 Mon Sep 17 00:00:00 2001 From: praveen-new-ac Date: Sun, 19 Jul 2026 16:52:26 +0530 Subject: [PATCH 1/3] deploy to github pages --- .github/workflows/cicd.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/cicd.yml diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml new file mode 100644 index 0000000..fe1ca0a --- /dev/null +++ b/.github/workflows/cicd.yml @@ -0,0 +1,34 @@ +name: Deploy to GitHub Pages + +on: + push: + branches: [ deploy-to-gh-pages ] + +permissions: + contents: read + pages: write + id-token: write +jobs: + build-and-deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout Source + uses: actions/checkout@v4 + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version: 20 + - name: Install Dependencies + run: npm ci + - name: Build Project + run: npm run build + - name: Upload artifacts + uses: actions/upload-pages-artifact@v3 + with: + name: 'github-pages' + path: build + - name: Deploy to GitHub Pages + uses: actions/deploy-pages@v4 + with: + token: ${{ secrets.GITHUB_TOKEN }} + artifact_name: 'github-pages' \ No newline at end of file From f2215786053d958831b9c2a27935904492be4087 Mon Sep 17 00:00:00 2001 From: praveen-new-ac Date: Sun, 19 Jul 2026 17:03:32 +0530 Subject: [PATCH 2/3] new commit --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 59a6958..a9cf9af 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "react-app", "version": "0.1.0", "private": true, + "homepage": "https://chary5624.github.io/reactjs-app/", "dependencies": { "@testing-library/jest-dom": "^5.17.0", "@testing-library/react": "^13.4.0", From 7b9d1d95fbcdd5369c7cbb1402e2334980c0f313 Mon Sep 17 00:00:00 2001 From: praveen-new-ac Date: Sun, 19 Jul 2026 17:10:07 +0530 Subject: [PATCH 3/3] new commit 22 --- .github/workflows/cicd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index fe1ca0a..d7e55d5 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -2,7 +2,7 @@ name: Deploy to GitHub Pages on: push: - branches: [ deploy-to-gh-pages ] + branches: [ master ] permissions: contents: read