We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd02032 commit cd4f802Copy full SHA for cd4f802
.github/workflows/tmp.yml
@@ -0,0 +1,20 @@
1
+name: Trigger Update
2
+
3
+on:
4
+ workflow_dispatch: # This allows manual triggering from GitHub Actions UI
5
6
+env:
7
+ OWNER_NAME: MahBoiDeveloper
8
+ REPO_NAME: TwistedInsurrectionUpdatedClient
9
+ WORKFLOW_FILE: UpdateClientBinaries.yml
10
+ TARGET_BRANCH: main
11
12
+jobs:
13
+ trigger-update-in-configs:
14
+ runs-on: windows-latest
15
+ steps:
16
+ - name: Trigger GitHub API to update binaries
17
+ env:
18
+ GH_TOKEN: ${{ github.token }}
19
+ run: |
20
+ gh api --method POST -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" /repos/${{ env.OWNER_NAME }}/${{ env.REPO_NAME }}/actions/workflows/${{ env.WORKFLOW_FILE }}/dispatches -f 'ref=${{ env.TARGET_BRANCH }}'
0 commit comments