Skip to content

Instantly share code, notes, and snippets.

@ksmarty

ksmarty/.drone.yml

Created May 17, 2020
Embed
What would you like to do?
---
kind: pipeline
name: production
steps:
- name: now
image: one000mph/drone-now
environment:
NOW_TOKEN:
from_secret: now_token
settings:
secret: [now_token]
deploy_name: example
prod: true
trigger:
branch:
- master
---
kind: pipeline
name: development
steps:
- name: now
image: one000mph/drone-now
environment:
NOW_TOKEN:
from_secret: now_token
settings:
secret: [now_token]
deploy_name: example
trigger:
branch:
exclude:
- master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment