This commit is contained in:
24
.drone.yml
24
.drone.yml
@@ -0,0 +1,24 @@
|
|||||||
|
kind: pipeline
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: docker-deploy
|
||||||
|
image: appleboy:drone-ssh
|
||||||
|
settings:
|
||||||
|
host:
|
||||||
|
from_secret: CD_HOST
|
||||||
|
username:
|
||||||
|
from_secret: CD_USER
|
||||||
|
key:
|
||||||
|
from_secret: CD_KEY
|
||||||
|
script:
|
||||||
|
- pwd
|
||||||
|
- echo ===== Start Building =====
|
||||||
|
- echo ===== Start Building =====
|
||||||
|
- echo ===== Start Deploying =====
|
||||||
|
- echo ===== Deploy Finished =====
|
||||||
|
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
Reference in New Issue
Block a user