Skip to content

feat: static site previews#20

Merged
mallory-tollefson merged 2 commits into
OpenADMET:mainfrom
ethanholz:feat/site-previews
Jun 26, 2025
Merged

feat: static site previews#20
mallory-tollefson merged 2 commits into
OpenADMET:mainfrom
ethanholz:feat/site-previews

Conversation

@ethanholz
Copy link
Copy Markdown
Contributor

This pull request introduces GitHub Actions workflows to automate the build, staging, and cleanup processes for Hugo site deployments on Cloudflare Pages. Additionally, the README.md file has been updated to reflect these changes.

GitHub Actions Workflows for Hugo Site Deployment:

Documentation Updates:

  • README.md: Updates to include details about Cloudflare Pages deployment, PR previews, and associated workflows (build-pr.yaml, stage-cloudflare.yaml, and cleanup-cloudflare.yaml). [1] [2]

• Add build-pr.yaml to build the Hugo site from pull requests
• Add stage-cloudflare.yaml to deploy PR previews to Cloudflare staging
• Add cleanup-cloudflare.yaml to remove stale Cloudflare deployments on PR close
• Update README.md to document Cloudflare Pages integration and PR preview workflow
Copy link
Copy Markdown
Collaborator

@hmacdope hmacdope left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM @ethanholz, merge whenever

@ethanholz ethanholz marked this pull request as ready for review June 25, 2025 21:28
@ethanholz
Copy link
Copy Markdown
Contributor Author

Cool cool! I can go ahead and merge this but you guys will need to setup your Cloudflare pieces to get this going. Would you mind adding secrets and then we can merge so we can validate that everything runs correctly? You guys should already have the account, just need to get it added to this repo.

See this page for more info on what you need: https://github.com/omsf/static-site-tools/?tab=readme-ov-file#cloudflare.

@mallory-tollefson mallory-tollefson merged commit 09a172a into OpenADMET:main Jun 26, 2025
1 check passed
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.

3 participants