Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,26 @@ jobs:
name: artifactName,
data: await fs.readFile(artifactPathName)
});

app-store-release:
runs-on: ubuntu-latest
needs: build
if: github.event_name == 'release'
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Download plugin-feed jar
uses: actions/download-artifact@v2
with:
name: plugin-feed
path: build/libs
- name: Sync to Halo App Store
uses: halo-sigs/app-store-release-action@main
with:
github-token: ${{secrets.GITHUB_TOKEN}}
app-id: ${{secrets.APP_ID}}
release-id: ${{ github.event.release.id }}
assets-dir: "build/libs"
halo-username: ${{ secrets.HALO_USERNAME }}
halo-password: ${{ secrets.HALO_PASSWORD }}
7 changes: 4 additions & 3 deletions src/main/resources/plugin.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
apiVersion: plugin.halo.run/v1alpha1
kind: Plugin
metadata:
# The name defines how the plugin is invoked,A unique name
name: PluginFeed
annotations:
# Add supports for Halo App Store
# https://halo.run/store/apps/app-KhIVw
"store.halo.run/app-id": "app-KhIVw"
spec:
enabled: true
# 'version' is a valid semantic version string (see semver.org).
version: 1.1.1
requires: ">=2.4.0"
author:
Expand All @@ -14,7 +16,6 @@ spec:
logo: https://halo.run/logo
settingName: plugin-feed-setting
configMapName: plugin-feed-config
# 'homepage' usually links to the GitHub repository of the plugin
homepage: https://github.com/halo-sigs/plugin-feed
displayName: "RSS"
description: "为站点生成 RSS 订阅链接"
Expand Down