From fb01b27d1d10f5566fdae2c3135f093f78c92215 Mon Sep 17 00:00:00 2001 From: Minoricew <154642983+Minoricew@users.noreply.github.com> Date: Sun, 29 Jun 2025 14:27:43 +0800 Subject: [PATCH] =?UTF-8?q?[=F0=9F=94=84=20Chore]=20Add=20workflow=20file?= =?UTF-8?q?=20for=20HugoAura-Install=20JSON=20upd?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/trigger-install-upd.yml | 26 +++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/trigger-install-upd.yml diff --git a/.github/workflows/trigger-install-upd.yml b/.github/workflows/trigger-install-upd.yml new file mode 100644 index 0000000..6ff026a --- /dev/null +++ b/.github/workflows/trigger-install-upd.yml @@ -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 }}" + }