Skip to content

Choose a tag to compare

@gadgetb0y gadgetb0y released this 29 Oct 21:19
· 10 commits to main since this release
40c02e2

First release of the Evolving Edge deploy Action. It publishes a built static site to the Evolving Edge CDN from any GitHub Actions workflow. Evolving Edge is in open beta.

Runs @evolving-edge/ee-cdn-cli 0.4.0, installed from a lockfile and checked against its integrity hash on every run.

Usage

- uses: evolving-edge/deploy-action@v1
  with:
    directory: public
    domain: www.example.com
    project: proj_abc123
    token: ${{ secrets.EE_CDN_TOKEN }}

You need a project in the portal, a deploy token scoped to it, and your domain claimed by that project. See the README.

What it does

  • Packages your build output and deploys it to your domain, at Level 0 (public) or Level 2 (access tokens). Level 1 isn't available from a workflow.
  • Finds the output folder of most static site generators when directory is left out.
  • Uses the runner's Node.js if it's 22.12 or later, and installs Node.js 22.12 otherwise, so Hugo, Jekyll, Zola, MkDocs and Sphinx workflows need no Node setup step.
  • Optional: trailing-slash and clean-URL routing, converting images to WebP or AVIF, scaling down wide images, and a dry run that uploads nothing.

Moving from evolving-edge/ee-cdn-cli@v0.4.0

The inputs and outputs are the same. Change the uses: line to evolving-edge/deploy-action@v1.

Notes on the choices:

  • Content: everything in it is something we tested or the Action does today. There are no speed, performance or cost claims, and it mentions the open beta.
  • Migration section: it's for anyone already using the Action from ee-cdn-cli, as the Hugo and Jekyll quickstarts tell readers to. If you'd rather not point people away from ee-cdn-cli until the docs switch over, drop that section.
  • The code block: it's indented rather than fenced, so it won't close the outer block when you copy. On GitHub you can wrap it in a ```yaml fence instead.