Skip to content

Commit

Permalink
chore: update project config
Browse files Browse the repository at this point in the history
  • Loading branch information
guqing committed Jul 31, 2024
1 parent cb8ff35 commit 44a99ca
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 83 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: CD

on:
release:
types:
- published

jobs:
cd:
uses: halo-sigs/reusable-workflows/.github/workflows/plugin-cd.yaml@v1
secrets:
halo-username: ${{ secrets.HALO_USERNAME }}
halo-password: ${{ secrets.HALO_PASSWORD }}
permissions:
contents: write
with:
skip-node-setup: true
app-id: app-IbqRW
15 changes: 15 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: CI

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
ci:
uses: halo-sigs/reusable-workflows/.github/workflows/plugin-ci.yaml@v1
with:
skip-node-setup: true
81 changes: 0 additions & 81 deletions .github/workflows/workflow.yaml

This file was deleted.

9 changes: 7 additions & 2 deletions src/main/resources/plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,22 @@ apiVersion: plugin.halo.run/v1alpha1
kind: Plugin
metadata:
name: plugin-colorless
annotations:
store.halo.run/app-id: "app-IbqRW"
spec:
enabled: true
requires: ">=2.13.0"
author:
name: guqing
website: https://github.com/guqing
logo: logo.svg
homepage: https://github.com/guqing/halo-plugin-colorless
homepage: https://www.halo.run/store/apps/app-IbqRW
repo: https://github.com/guqing/halo-plugin-colorless
issues: https://github.com/guqing/halo-plugin-colorless/issues
displayName: 无色界
settingName: plugin-colorless-setting
configMapName: plugin-colorless-config
description: 让 Halo 所有主题都失去色彩,展示为灰白效果。
license:
- name: "MIT"
- name: "GPL-3.0"
url: "https://github.com/guqing/halo-plugin-colorless/blob/main/LICENSE"

0 comments on commit 44a99ca

Please sign in to comment.