Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Package Control website deployment

This repository is the deployment harness for the Package Control community website. It intentionally does not contain the website source, but it could eventually.

The deployment workflow checks out the gh-pages branch of packagecontrol/thecrawl, builds the site there, and publishes the result with GitHub Pages.

Website changes and pull requests belong in packagecontrol/thecrawl, not in this repository.

Deployment

The workflow can be started manually with an optional source branch, tag, or commit. It also runs nightly as a fallback for crawler-data updates.

After setting up all secrets and tokens, thecrawl will initiate deploys automatically whenever needed. After GitHub Pages propagation, the workflow purges Cloudflare's package-site-volatile cache tag. Commit- and build-busted assets remain cached across deployments. A separate Actions cache restores _site/data/* and _site/static/* before each build. It keeps the three newest cached versions under each parent, leaving room for the build's version before uploading the site and saving the next cache snapshot. Rebuilding an existing static version can result in fewer than four directories. Individual snapshots are bounded to four versions per directory; GitHub evicts older, immutable cache entries under its normal cache retention policy. Older assets may still be served by Cloudflare until their cache entries expire.

About

Stage-n-deploy harness for the main packages site

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors