30 lines
435 B
YAML
30 lines
435 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: deploy-ci
|
|
image: python:latest
|
|
commands:
|
|
- ci/deploy.sh
|
|
when:
|
|
branch:
|
|
exclude:
|
|
- master
|
|
|
|
- name: deploy-prod
|
|
image: python:latest
|
|
commands:
|
|
- make all env=prod
|
|
when:
|
|
branch:
|
|
- master
|
|
event:
|
|
- push
|
|
|
|
- name: cleanup-env
|
|
image: python:latest
|
|
commands:
|
|
- ci/cleanup.sh
|