This repository has been archived on 2021-09-01. You can view files and clone it, but cannot push or open issues or pull requests.
theme-geeklab/.drone.yml

45 lines
1.1 KiB
YAML
Raw Normal View History

2019-01-13 15:55:17 +00:00
---
kind: pipeline
name: default
steps:
- name: build
image: node
commands:
2019-01-13 16:18:34 +00:00
- npm install -g gulp -s
- npm install -s
- gulp
2018-12-22 23:14:12 +00:00
when:
event: push
2019-01-13 15:55:17 +00:00
- name: update
image: appleboy/drone-git-push
2019-01-13 15:55:17 +00:00
settings:
branch: master
remote: gitea@gitea.rknet.org:xoxys/theme-geeklab.git
commit: true
force: false
2019-01-13 16:28:40 +00:00
author_name: DroneShipper
author_email: shipper@rknet.org
2019-01-13 16:18:34 +00:00
environment:
2019-01-13 16:23:09 +00:00
GIT_PUSH_COMMIT_MESSAGE: "[SKIP CI] Update artifacts"
2019-01-13 16:18:34 +00:00
GIT_PUSH_SSH_KEY:
from_secret: git_push_ssh_key
2018-12-22 23:14:12 +00:00
when:
event: push
2019-01-27 13:54:47 +00:00
- name: notify
image: plugins/matrix
settings:
homeserver: https://matrix.rknet.org
roomid: MtidqQXWWAtQcByBhH:rknet.org
template: "Status: **{{ build.status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}<br/> Message: {{ build.message }}"
username:
from_secret: matrix_username
password:
from_secret: matrix_password
when:
status:
- success
- failure