Skip to content

webceyhan/webceyhan.github.io

Repository files navigation

CodeQL Build and Deploy

Logo

Personal Landing Page

This is a personal landing page which is served at ceyhan.cloud. It contains a short personal introduction and list of projects i developed on GitHub. All data is dynamically fetched from GitHub REST API. Feel free to use it as your own landing page if you like.

View Demo | Report Issue | Request Feature | @webceyhan


Requirements

You need to install the Bun first.

Recommended IDE: VSCode + Volar


Installation

  1. Clone the repository.
    git clone https://github.com/webceyhan/webceyhan.github.io.git
  2. Get inside the cloned project folder.
    cd webceyhan.github.io
  3. Install packages.
    bun install
  4. Set your social link handles in .env file.
    # social-link handles
    USER_GITHUB=
    USER_REDDIT=
    USER_LINKEDIN=
    USER_TWITTER=
    USER_INSTAGRAM=
  5. Setup your GitHub profile settings to show in header section. sh name= # Your Name bio= # Your Job Description location= # Where You're based in company= # Where you work at (optional)

    If you like to use a company logo instead of text, you can put a company-logo.png under the assets folder which will be automatically rendered.


Usage

You can use following commands to do various task with the project.

bun run dev             # start development server
bun run build           # build for production
bun run preview         # preview built application

Take a look at the other scripts in package.json


Development

Start the development server to watch changes while you code.

bun run dev

Building

Build the application for production.

bun run build

You can also preview the application after building it.

bun run preview

Deployment (GitHub Pages)

A GitHub Action will automatically deploy the project to GitHub Pages on every push.

The workflow will build the project using bun and output the result to the dist folder which will be then pushed to the gh-pages branch.

See the details in .github/workflows/deploy.yml


References