Skip to content

Instantly share code, notes, and snippets.

@ksmarty
Created May 17, 2020 22:34
Show Gist options
  • Save ksmarty/77ee3ec5cfd06bd540be2ec6465988d8 to your computer and use it in GitHub Desktop.
Save ksmarty/77ee3ec5cfd06bd540be2ec6465988d8 to your computer and use it in GitHub Desktop.
---
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