mirror of
https://github.com/HugoAura/Seewo-HugoAura.git
synced 2026-06-20 23:14:28 +08:00
[🔄 Chore] Add workflow file for HugoAura-Install JSON upd
This commit is contained in:
26
.github/workflows/trigger-install-upd.yml
vendored
Normal file
26
.github/workflows/trigger-install-upd.yml
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
name: Trigger Aura Install static JSON update
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
trigger-dispatch:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
if: github.event.release.tag_name != 'vAutoBuild'
|
||||
|
||||
steps:
|
||||
- name: Trigger repository dispatch
|
||||
uses: peter-evans/repository-dispatch@v3
|
||||
with:
|
||||
token: ${{ secrets.AURA_INSTALL_REPO_PAT }}
|
||||
repository: HugoAura/HugoAura-Install
|
||||
event-type: hugoaura_rel
|
||||
client-payload: |
|
||||
{
|
||||
"tag_name": "${{ github.event.release.tag_name }}",
|
||||
"release_name": "${{ github.event.release.name }}",
|
||||
"release_url": "${{ github.event.release.html_url }}",
|
||||
"repository": "${{ github.repository }}"
|
||||
}
|
||||
Reference in New Issue
Block a user