This commit is contained in:
17
.drone.yml
17
.drone.yml
@@ -1,15 +1,8 @@
|
|||||||
---
|
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: default
|
name: cicd
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: now
|
- name: test
|
||||||
image: one000mph/drone-now # Use one000mph's version as lucaperret's is outdated
|
image: docker/compose
|
||||||
environment:
|
commands:
|
||||||
NOW_TOKEN:
|
- docker-compose -f docker-compose-test.yml up
|
||||||
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: peroxy-dev # 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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user