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 16:55:17 +01:00
---
kind: pipeline
name: default
steps:
- name: build
image: node
commands:
2019-01-13 17:18:34 +01:00
- npm install -g gulp -s
- npm install -s
- gulp
2018-12-23 00:14:12 +01:00
when:
event: push
2019-01-13 16:55:17 +01:00
- name: update
image: appleboy/drone-git-push
2019-01-13 16:55:17 +01:00
settings:
branch: master
remote: gitea@gitea.rknet.org:xoxys/theme-geeklab.git
commit: true
2019-01-27 15:17:56 +01:00
commit_message: "[SKIP CI] Update artifacts"
2019-01-13 16:55:17 +01:00
force: false
2019-01-13 17:28:40 +01:00
author_name: DroneShipper
author_email: shipper@rknet.org
2019-01-27 15:26:17 +01:00
environment:
GIT_PUSH_SSH_KEY:
2019-01-13 17:18:34 +01:00
from_secret: git_push_ssh_key
2018-12-23 00:14:12 +01:00
when:
event: push
2019-01-27 14:54:47 +01: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