Skip to content

andyet/drone-now

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drone-now

Now logo

Deploying to ▲ZEIT now with Drone CI.

Docker Pulls Image GitHub release

Use case examples:

  • Automatically create staging deployments for pull requests
  • Automatically deploy and alias upon pushes to master

Usage

For the usage information and a listing of the available options please take a look at the docs.

There are two ways to deploy.

From docker

Deploy the working directory to now.

docker run --rm \
  -e NOW_TOKEN=xxxxxxx \
  -e PLUGIN_DEPLOY_NAME=my-deployment-name \
  -e PLUGIN_ALIAS=my-deployment-alias.now.sh \
  -v $(pwd):$(pwd) \
  -w $(pwd) \
  lucap/drone-now

From Drone CI

pipeline:
  now:
    image: lucap/drone-now
    deploy_name: my-deployment-name
    type: static
    team: xxxxxxxx
    directory: public
    alias: my.deployment.com
    secrets: [ now_token ]

About

Deploying to now.sh with Drone CI

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 88.5%
  • Dockerfile 11.5%