Sign inSign up

lucap/drone-now

By lucap

Updated over 8 years ago

Deploying to Now.sh with Drone CI

Image
0

684

lucap/drone-now repository overview

Drone-now

Docker Pulls GitHub release

Deploying to now.sh with Drone CI.

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 NOW_ALIAS=my-deployment-alias.now.sh \
  -v $(pwd):$(pwd) \
  -w $(pwd) \
  lucap/drone-now
From Drone CI
pipeline:
  now:
    image: lucap/drone-now
    token: xxxxx
    name: deployment-name

Tag summary

Content type

Image

Digest

Size

59.5 MB

Last updated

over 8 years ago

docker pull lucap/drone-now