2016-11-08 18:13:24 +05:30
|
|
|
workspace:
|
2017-08-22 22:39:20 +05:30
|
|
|
base: /srv/app
|
2016-11-08 18:13:24 +05:30
|
|
|
path: src
|
|
|
|
|
2018-07-12 02:31:59 +05:30
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
|
2017-08-22 22:39:20 +05:30
|
|
|
clone:
|
|
|
|
git:
|
|
|
|
image: plugins/git:1
|
|
|
|
depth: 50
|
|
|
|
tags: true
|
|
|
|
|
2016-11-08 18:13:24 +05:30
|
|
|
pipeline:
|
|
|
|
build:
|
|
|
|
image: webhippie/hugo:latest
|
2016-11-10 16:35:01 +05:30
|
|
|
pull: true
|
2016-11-08 18:13:24 +05:30
|
|
|
commands:
|
2016-12-25 08:02:55 +05:30
|
|
|
- make trans-copy
|
2016-12-12 19:06:33 +05:30
|
|
|
- make clean
|
2016-11-10 16:31:21 +05:30
|
|
|
- make build
|
2016-11-08 18:13:24 +05:30
|
|
|
|
2018-07-12 02:31:59 +05:30
|
|
|
publish:
|
|
|
|
image: lucap/drone-netlify:latest
|
2017-06-05 19:37:04 +05:30
|
|
|
pull: true
|
2018-07-12 02:31:59 +05:30
|
|
|
secrets: [ netlify_token ]
|
|
|
|
site_id: 05515f14-3702-4a84-9ff3-88ba90fe08dd
|
|
|
|
path: public/
|
2016-11-08 18:13:24 +05:30
|
|
|
when:
|
2016-12-26 13:49:55 +05:30
|
|
|
event: [ push ]
|
2016-11-08 18:13:24 +05:30
|
|
|
|
2017-06-16 08:20:51 +05:30
|
|
|
discord:
|
2018-07-12 02:31:59 +05:30
|
|
|
image: appleboy/drone-discord:1
|
2017-08-22 22:39:20 +05:30
|
|
|
pull: true
|
|
|
|
secrets: [ discord_webhook_id, discord_webhook_token ]
|
2017-06-16 08:20:51 +05:30
|
|
|
when:
|
2018-07-12 02:31:59 +05:30
|
|
|
event: [ push, tag ]
|
2017-06-16 08:20:51 +05:30
|
|
|
status: [ changed, failure ]
|