更新 '.cid/redis.yml'
This commit is contained in:
parent
56ab338837
commit
44d8fb684b
@ -1,13 +1,53 @@
|
|||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: drone
|
||||||
|
|
||||||
workspace:
|
workspace:
|
||||||
base: /data/redis
|
base: /app
|
||||||
path: .
|
path: git/drone
|
||||||
pipeline:
|
|
||||||
build:
|
steps:
|
||||||
image: 'centos:latest'
|
- name: build
|
||||||
environment:
|
image: node:alpine
|
||||||
- TZ=Asia/Shanghai
|
volumes:
|
||||||
|
- name: webroot
|
||||||
|
path: /wwwroot
|
||||||
commands:
|
commands:
|
||||||
- 'make'
|
- /bin/sh bash.sh
|
||||||
|
environment:
|
||||||
|
host:
|
||||||
|
from_secret: host
|
||||||
|
port:
|
||||||
|
from_secret: port
|
||||||
|
abc: abctest
|
||||||
|
- name: deploy
|
||||||
|
image: appleboy/drone-scp
|
||||||
when:
|
when:
|
||||||
event: [push, tag, deployment]
|
status:
|
||||||
branch: [master, develop]
|
- success
|
||||||
|
settings:
|
||||||
|
host:
|
||||||
|
from_secret: host
|
||||||
|
port:
|
||||||
|
from_secret: port
|
||||||
|
key:
|
||||||
|
from_secret: rsa
|
||||||
|
username:
|
||||||
|
from_secret: username
|
||||||
|
target:
|
||||||
|
from_secret: deploy_path
|
||||||
|
source: ./*
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: webroot
|
||||||
|
host:
|
||||||
|
path: /opt
|
||||||
|
- name: cache
|
||||||
|
host:
|
||||||
|
path: /tmp/cache
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
Loading…
Reference in New Issue
Block a user