Skip to content

Commit

Permalink
chore: update workflows config (#20)
Browse files Browse the repository at this point in the history
### What this PR does?
更新 workflows 配置

```release-note
None
```
  • Loading branch information
guqing authored Jul 2, 2024
1 parent b30e14c commit c1817a7
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 114 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
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:
app-id: app-sqpgf
skip-node-setup: true

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
114 changes: 0 additions & 114 deletions .github/workflows/workflow.yaml

This file was deleted.

2 changes: 2 additions & 0 deletions src/main/resources/plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ apiVersion: plugin.halo.run/v1alpha1
kind: Plugin
metadata:
name: PluginHighlightJS
annotations:
store.halo.run/app-id: app-sqpgf
spec:
enabled: true
version: 1.0.0
Expand Down

0 comments on commit c1817a7

Please sign in to comment.