Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 0 additions & 50 deletions .github/workflows/deploy.yml

This file was deleted.

28 changes: 0 additions & 28 deletions .github/workflows/test-deploy.yml

This file was deleted.

6 changes: 3 additions & 3 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ only automated correctness gate — always run it before considering a change do
configured (`.prettierrc`, with `prettier-plugin-astro` and `prettier-plugin-tailwindcss`) but
there is no `format` script wired up in `package.json`; invoke `npx prettier --write <files>` directly.

CI (`.github/workflows/test-deploy.yml`) runs `npm run build` on PRs into `main`.
`.github/workflows/deploy.yml` builds and deploys `dist/` to GitHub Pages on push to `main` or
`astro-main`.
There are no GitHub Actions workflows in this repo. The site is hosted on Cloudflare Workers
(via Workers Builds), which builds and runs the build-pass check directly from the repo on every
push/PR (configured in the Cloudflare dashboard, not in `.github/workflows/`).

## History note: the site was rebuilt after the Docusaurus→Astro migration

Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# behitek.github.io

Personal site and portfolio for Hieu Nguyen (behitek) — AI engineer. Built with Astro 4 and
TailwindCSS, statically generated and deployed to GitHub Pages.
TailwindCSS, statically generated and deployed to Cloudflare Workers (static assets).

🌐 **Live site:** [behitek.com](https://behitek.com)

Expand All @@ -13,7 +13,7 @@ TailwindCSS, statically generated and deployed to GitHub Pages.
- **Language:** TypeScript (strict)
- **Comments:** [Giscus](https://giscus.app) (GitHub Discussions)
- **Analytics:** Google Tag Manager
- **Hosting:** GitHub Pages via GitHub Actions
- **Hosting:** Cloudflare Workers (static assets, via Workers Builds)

## Getting started

Expand Down Expand Up @@ -58,7 +58,6 @@ src/
└── utils/ # constants.ts, helpers.ts

public/ # static assets: images, favicon, CNAME, .nojekyll
.github/workflows/ # deploy.yml (GitHub Pages), test-deploy.yml (build check on PRs)
```

## Design system
Expand Down Expand Up @@ -139,11 +138,12 @@ project card.

## Deployment

Pushes to `main` (or `astro-main`) trigger `.github/workflows/deploy.yml`, which builds with
Astro and deploys `dist/` to GitHub Pages. `.github/workflows/test-deploy.yml` runs a build check
on pull requests into `main`.
Pushes and PRs trigger a Cloudflare Workers Build (configured in the Cloudflare dashboard, see
`wrangler.jsonc`), which runs `npm run build` and deploys `dist/` as Workers static assets via
`wrangler deploy`. There are no GitHub Actions workflows — Cloudflare's build check on PRs is the
only CI gate.

To deploy manually elsewhere: `npm run build` and upload the `dist/` folder.
To deploy manually: `npm run build && npx wrangler deploy`.

## Contact

Expand Down
Loading