This repository contains the marketing site for the ILM-SA bursary programme, built with Astro and Tailwind CSS.
Install dependencies and start the local dev server:
npm install
npm run devThe site will be available at http://localhost:4321.
| Command | Action |
|---|---|
npm install |
Install dependencies |
npm run dev |
Start the development server |
npm run build |
Build the production site to ./dist/ |
npm run preview |
Preview the built site locally |
This project ships with an automated GitHub Actions workflow that builds the site from the main branch and publishes the output to the gh-pages branch. Once changes are merged into main, the deployment workflow will:
- Install dependencies.
- Build the site with the correct GitHub Pages base URL.
- Upload the build output and publish it via GitHub Pages.
You can also trigger a deployment manually from the Actions tab by running the "Deploy site to GitHub Pages" workflow.
If you need to customise the deployment domain or base path, override the following environment variables in the workflow or in a local .env file before running npm run build:
PUBLIC_SITE– the fully-qualified site origin (e.g.https://example.com).PUBLIC_BASE_PATH– the path segment where the site is hosted (default:/).
- Astro 5
- Tailwind CSS
- AOS for scroll animations