chore: disable ci and cleanup

This commit is contained in:
Robert Kaussow 2023-12-07 11:48:24 +01:00
parent a9f08b720f
commit 7a68db8d1d
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 0 additions and 126 deletions

View File

@ -1,82 +0,0 @@
---
kind: pipeline
name: build
platform:
os: linux
arch: amd64
steps:
- name: build
image: klakegg/hugo:0.53-alpine
commands:
- hugo --theme geeklab
- name: publish
image: thegeeklab/drone-s3-sync:2
settings:
access_key:
from_secret: s3_access_key
bucket: thegeeklab
delete: true
endpoint:
from_secret: s3_endpoint
path_style: true
secret_key:
from_secret: s3_secret_access_key
source: public/
strip_prefix: public/
target: /legacy
when:
ref:
- refs/heads/master
- refs/tags/**
trigger:
ref:
- refs/heads/master
- refs/tags/**
- refs/pull/**
---
kind: pipeline
name: notifications
platform:
os: linux
arch: amd64
steps:
- name: notification
image: thegeeklab/drone-matrix
settings:
homeserver:
from_secret: matrix_homeserver
password:
from_secret: matrix_password
roomid:
from_secret: matrix_roomid
template: "Status: **{{ .Build.Status }}**<br/> Build: [{{ .Repo.Owner }}/{{ .Repo.Name }}]({{ .Build.Link }}){{ if .Build.Branch }} ({{ .Build.Branch }}){{ end }} by {{ .Commit.Author }}<br/> Message: {{ .Commit.Message.Title }}"
username:
from_secret: matrix_username
when:
status:
- success
- failure
trigger:
ref:
- refs/heads/master
- refs/tags/**
status:
- success
- failure
depends_on:
- build
---
kind: signature
hmac: 0f3595ab9234753caff105f58ac91a11a5ccccd4495d844526c68cbfc2cde512
...

View File

@ -1,44 +0,0 @@
---
kind: pipeline
name: default
steps:
- name: build
image: node
commands:
- npm install -g gulp -s
- npm install -s
- gulp
when:
event: push
- name: update
image: appleboy/drone-git-push
settings:
branch: master
remote: gitea@gitea.rknet.org:xoxys/theme-geeklab.git
commit: true
commit_message: "[SKIP CI] Update artifacts"
force: false
author_name: DroneShipper
author_email: shipper@rknet.org
environment:
GIT_PUSH_SSH_KEY:
from_secret: git_push_ssh_key
when:
event: push
- 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