Skip to content

Instantly share code, notes, and snippets.

@ksmarty
Last active May 17, 2020 04:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ksmarty/9cdbb06683adc98a8c1a1360ded2ca95 to your computer and use it in GitHub Desktop.
Save ksmarty/9cdbb06683adc98a8c1a1360ded2ca95 to your computer and use it in GitHub Desktop.
---
kind: pipeline
name: default
steps:
- name: now
image: one000mph/drone-now # Use one000mph's version as lucaperret's is outdated
environment:
NOW_TOKEN:
from_secret: now_token # Refers to a secret in your drone repo titled "NOW_TOKEN"
settings:
secret: [now_token] # Refers to the above environment variable
deploy_name: example # The name of your vercel project
prod: true # Leave this if you want to deploy to production, remove to disable production
directory: public # Only if you've pre-rendered the page. Normally you let vercel handle this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment