johnnypea / example-zeit-now

An example GitHub Action using Zeit Now

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

An example GitHub Action using Zeit Now

License:Creative Commons Zero v1.0 Universal


Languages

Language:HTML 70.3%Language:HCL 29.7%