Skip to content

iamphill/example-zeit-now

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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. Setup 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. Setup 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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published