Skip to content
Permalink
Browse files

Pipeline trigger

  • Loading branch information...
Depado committed Jan 8, 2019
1 parent 0a6f389 commit 294d3ce0750a40dee090ad3572aa7f5d9c140b3b
Showing with 5 additions and 7 deletions.
  1. +5 −7 .drone.yml
@@ -12,9 +12,6 @@ steps:
from_secret: ssh_key
script:
- rm -r /home/depado/smallblog/pages/*
when:
branch: [master]
event: [push]

- name: deploy
image: appleboy/drone-scp
@@ -27,9 +24,6 @@ steps:
environment:
SSH_KEY:
from_secret: ssh_key
when:
branch: [master]
event: [push]

- name: telegram
image: appleboy/drone-telegram
@@ -43,4 +37,8 @@ steps:
[Build {{build.number}}]({{build.link}}) by {{commit.author}} {{#success build.status}}succeeded{{else}}failed{{/success}} in {{buildtime build.started}}
`{{truncate commit.sha 8}}`: "{{commit.message}}"
`{{truncate commit.sha 8}}`: "{{commit.message}}"
trigger:
branch: [master]
event: [push]

0 comments on commit 294d3ce

Please sign in to comment.
You can’t perform that action at this time.