Skip to content

Instantly share code, notes, and snippets.

@ksmarty
Created May 17, 2020 22:34
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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