Skip to content

Feature/cloudflare jamstack updates #1019

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

TeamRJEC
Copy link

@TeamRJEC TeamRJEC commented Jun 2, 2025

No description provided.

This commit makes the necessary adjustments to deploy the Eleventy-based Jamstack site to Cloudflare Pages.

Key changes include:
- Modified the Eleventy configuration (`.eleventy.js`) to output the build to a `dist` folder at the project root.
- Updated CSS build scripts in `package.json` to reflect the new output path (`../dist`).
- Added a `README.md` file within the `src/site` directory containing detailed instructions for deploying to Cloudflare Pages. This README is configured to be copied to the root of the `dist` folder during the build process.

The project was already using Jamstack principles with Eleventy. These changes primarily focus on standardizing the output directory for seamless integration with Cloudflare Pages and providing clear deployment documentation.
This commit introduces the foundational scaffolding for a new healthcare informational website within the 'healthcare_site' subdirectory.

Key additions include:
- A new 'healthcare_site' directory at the repository root.
- A simple Eleventy project initialized within 'healthcare_site', including:
    - Basic source structure (src, _includes, index.md, css).
    - A minimal .eleventy.js configuration outputting to 'healthcare_site/dist'.
    - Placeholder healthcare-themed content on the homepage and a basic layout.
- Updated root 'package.json' with new npm scripts for the healthcare site:
    - 'build:health' to build the healthcare site.
    - 'serve:health' to serve the healthcare site locally on port 8081.
    - The 'clean' script was updated to also remove 'healthcare_site/dist'.
- A dedicated 'README.md' in 'healthcare_site' providing development and Cloudflare Pages deployment instructions for this sub-site.

This setup allows for independent development and deployment of the healthcare site while co-existing within the main jamstack.org repository.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant