Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 821 Bytes

README.md

File metadata and controls

20 lines (11 loc) · 821 Bytes

Zeit Now GitHub Action Example

An example workflow, using the GitHub Action for Zeit Now to deploy a static website, octozen.now.sh.

Workflow

The example workflow will trigger on every push to this repo.

For pushes to a feature branch, the workflow will:

  1. Trigger a new deployment using the now cli
  2. Set up a unique alias for that deployment, based on the SHA of the most recent commit on the Git ref that was pushed

For pushes to the default branch (master), in addition to the above Actions, the workflow will:

  1. Set up a global alias, based on the now.json configuration

License

This repository is licensed under CC0-1.0, which waives all copyright restrictions.