generated from vilor/hyde-template
Ivan Polyakov
2 years ago
1 changed files with 30 additions and 0 deletions
@ -0,0 +1,30 @@ |
|||||||
|
kind: pipeline |
||||||
|
type: docker |
||||||
|
name: production |
||||||
|
when: |
||||||
|
event: [ push ] |
||||||
|
branch: [ master ] |
||||||
|
|
||||||
|
trigger: |
||||||
|
branch: |
||||||
|
- master |
||||||
|
|
||||||
|
steps: |
||||||
|
- name: build |
||||||
|
image: plotter/chicken-scheme:5.3.0-alpine |
||||||
|
commands: |
||||||
|
- chicken-install sxml-serializer scss |
||||||
|
- make |
||||||
|
|
||||||
|
- name: deploy |
||||||
|
image: drillster/drone-rsync |
||||||
|
settings: |
||||||
|
hosts: |
||||||
|
from_secret: deploy_hosts |
||||||
|
user: |
||||||
|
from_secret: deploy_user |
||||||
|
key: |
||||||
|
from_secret: deploy_ssh_key |
||||||
|
target: |
||||||
|
from_secret: deploy_target |
||||||
|
source: dist/ |
Loading…
Reference in new issue