Skip to content
View 6ixmediasa's full-sized avatar

Block or report 6ixmediasa

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
6ixmediasa/README.md

6ixMedia SA

Official website source for 6ixMedia SA.

Stack

  • Next.js 16.3.x (App Router)
  • React 19.2.8
  • TypeScript 5
  • Tailwind CSS 3.4.6

Local development

npm install
npm run dev

Open http://localhost:3000.

Production build

This project is deployed as a static Next.js export for shared hosting.

npm ci
npm run build

The deployable site is generated in:

out/

Do not use npm start for the production hosting setup. The live cPanel server serves the generated static files from public_html.

Project structure

app/          Routes, metadata, sitemap and robots
components/   Reusable UI components
lib/          Site content, pricing, project and document data
public/       Images, project covers, client/project PDFs and documents
scripts/      cPanel pull-deployment utilities

Most general site copy, navigation, pricing and contact information is maintained in lib/site.ts. Inner-page content is primarily maintained in lib/pages.ts.

Portfolio/project data is maintained in lib/projects.ts, with project assets under public/projects/.

Important project-document note

Project PDFs are real source assets. Do not replace a project.pdf merely because another deployment contains a file with the same filename. Compare the actual file contents or hashes before replacing any client/project document.

The Next.js version of public/projects/exquisite-management/project.pdf is intentionally preserved and verified in CI by SHA-256.

Deployment architecture

The GitHub repository is the source of truth.

main
  ↓ GitHub Actions
security audit + static build + asset verification
  ↓
production-static branch
  ↓ cPanel pull script
/home/ixmedia1/public_html

.github/workflows/publish-static.yml builds the site on every push to main, verifies required assets, writes .deploy-sha, and force-publishes only the generated out/ contents to the production-static branch.

On cPanel, scripts/cpanel-pull-deploy.sh downloads that verified static branch, creates a rollback backup, preserves .well-known, publishes the new site, verifies critical output files and records the deployed SHA. It keeps the newest five production backups.

For automatic cPanel updates, install the cron job once with:

curl -fsSL https://raw.githubusercontent.com/6ixmediasa/6ixmediasa/main/scripts/install-cpanel-autodeploy.sh | bash

The cron task checks GitHub every five minutes. If the deployed SHA already matches the production branch, it exits without changing the live site.

CI safeguards

The persistent GitHub checks verify:

  • required public assets and expected file counts
  • exact trusted hashes for selected PDFs
  • production dependency audit at high/critical severity
  • successful static Next.js export
  • critical deployment output files

Content additions

The public site remains Next.js. A future headless CMS at admin.6ixmediasa.com can manage portfolio/client data and later blog posts without controlling the public design.

Popular repositories Loading

  1. Scan-it Scan-it Public

    Forked from faizanje/Scan-it

    Scan-It is an Android QR code scanner app built with Java. It tracks student attendance, saves entry and exit times locally using Paper DB, and offers multiple scanner modes. Optional SMS notificat…

    Java

  2. chinese-learning-app chinese-learning-app Public

    Forked from monteroserra/chinese-learning-app

    A modern, minimalistic language learning application that helps users learn Chinese (Hanzi and Pinyin) from Spanish or English words. Built with Python and Streamlit, featuring an intuitive UI and …

    Python

  3. jarvis jarvis Public

    Forked from Loki-Xer/jarvis

    Jarvis is a lightweight, automated WhatsApp bot built using the Baileys library, designed to simplify and automate everyday messaging tasks

    JavaScript

  4. safe_ride_app safe_ride_app Public

    Forked from ingdia/safe_ride_app

    Eliminating parental anxiety with real-time school bus tracking and automated safety notifications for Kigali families https://www.youtube.com/watch?v=19jen9PldAw

    Dart

  5. Unifill Unifill Public

    TypeScript

  6. 6ixmediasa-Retrace 6ixmediasa-Retrace Public

    C#