Skip to content

Commit fb01b27

Browse files
committed
[🔄 Chore] Add workflow file for HugoAura-Install JSON upd
1 parent 585f171 commit fb01b27

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Trigger Aura Install static JSON update
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
trigger-dispatch:
9+
runs-on: ubuntu-latest
10+
11+
if: github.event.release.tag_name != 'vAutoBuild'
12+
13+
steps:
14+
- name: Trigger repository dispatch
15+
uses: peter-evans/repository-dispatch@v3
16+
with:
17+
token: ${{ secrets.AURA_INSTALL_REPO_PAT }}
18+
repository: HugoAura/HugoAura-Install
19+
event-type: hugoaura_rel
20+
client-payload: |
21+
{
22+
"tag_name": "${{ github.event.release.tag_name }}",
23+
"release_name": "${{ github.event.release.name }}",
24+
"release_url": "${{ github.event.release.html_url }}",
25+
"repository": "${{ github.repository }}"
26+
}

0 commit comments

Comments
 (0)