Skip to content

corydobson/example-zeit-now

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 70.3%
  • HCL 29.7%