From 175ae1da83cc77f6afa5a15f2f8ea4b700765628 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 21 Feb 2026 05:21:32 +0000 Subject: [PATCH 1/2] Initial plan From 3f2137ff5b2c7fff85a3ff70aeaebfe63916affb Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 21 Feb 2026 05:26:19 +0000 Subject: [PATCH 2/2] Add CI/CD pipeline with HTML validation and GitHub Pages deployment Co-authored-by: Abhi1727 <203427552+Abhi1727@users.noreply.github.com> --- .github/workflows/ci.yml | 37 ++++++++++++++++++++++++++++++++++ .github/workflows/deploy.yml | 39 ++++++++++++++++++++++++++++++++++++ .htmlvalidate.json | 13 ++++++++++++ portfolio/shef-lms.html | 2 +- services/ai-chatbots.html | 6 +++--- services/generative-ai.html | 2 +- 6 files changed, 94 insertions(+), 5 deletions(-) create mode 100644 .github/workflows/ci.yml create mode 100644 .github/workflows/deploy.yml create mode 100644 .htmlvalidate.json diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..0e000f3 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,37 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + validate: + name: Validate HTML + runs-on: ubuntu-latest + permissions: + contents: read + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + + - name: Install html-validate + run: npm install -g html-validate + + - name: Validate HTML files + run: | + html-validate \ + index.html \ + careers.html \ + privacy-policy.html \ + terms-and-conditions.html \ + thank-you.html \ + services/*.html \ + portfolio/*.html diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..87f1835 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,39 @@ +name: Deploy to GitHub Pages + +on: + push: + branches: [main] + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: pages + cancel-in-progress: false + +jobs: + deploy: + name: Deploy + runs-on: ubuntu-latest + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Setup GitHub Pages + uses: actions/configure-pages@v5 + + - name: Upload site artifact + uses: actions/upload-pages-artifact@v3 + with: + path: '.' + + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 diff --git a/.htmlvalidate.json b/.htmlvalidate.json new file mode 100644 index 0000000..0a36a58 --- /dev/null +++ b/.htmlvalidate.json @@ -0,0 +1,13 @@ +{ + "extends": ["html-validate:recommended"], + "rules": { + "no-trailing-whitespace": "off", + "long-title": "off", + "no-raw-characters": "off", + "no-implicit-button-type": "off", + "text-content": "off", + "wcag/h30": "off", + "tel-non-breaking": "off", + "no-inline-style": "off" + } +} diff --git a/portfolio/shef-lms.html b/portfolio/shef-lms.html index 6f9b7be..ac54e23 100644 --- a/portfolio/shef-lms.html +++ b/portfolio/shef-lms.html @@ -224,7 +224,7 @@

Payment Integration

Discussion Forum

-

Course-specific discussion forums for student interaction and instructor Q&A.

+

Course-specific discussion forums for student interaction and instructor Q&A.

diff --git a/services/ai-chatbots.html b/services/ai-chatbots.html index 3191753..f706858 100644 --- a/services/ai-chatbots.html +++ b/services/ai-chatbots.html @@ -245,7 +245,7 @@

HR & Internal Bot

Employee onboarding, policy questions, leave requests, and internal helpdesk.

@@ -257,7 +257,7 @@

HR & Internal Bot

Knowledge Base Bot

-

Train AI on your documents, manuals, and data to create an intelligent Q&A assistant.

+

Train AI on your documents, manuals, and data to create an intelligent Q&A assistant.