This project is a static site served from the dist
directory. The site is built using commands defined in package.json
and deployed to GitHub Pages.
First, install the necessary dependencies:
npm install
To build the site, run:
npm run build
This command will:
- Clean the
dist
directory. - Copy HTML files from
src
todist
. - Build the CSS using TailwindCSS.
To serve the site locally, use:
npx serve dist
The site is deployed to GitHub Pages using a GitHub Actions workflow. To deploy:
-
Push to
main
:git push origin main
-
Manual Trigger: You can also trigger the deployment manually from the Actions tab in your GitHub repository.
- Build Commands: Defined in
package.json
- GitHub Actions Workflow: Defined in
.github/workflows/static.yml
-
Install Dependencies:
npm install
-
Build the Site:
npm run build
-
Serve Locally:
npx serve dist
-
Push to
main
:git push origin main