-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add workflow to test HTTP client (#152)
- Loading branch information
1 parent
4928319
commit 01ce3e8
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Test HTTP Client | ||
|
||
on: | ||
workflow_dispatch: # Allows manual triggering | ||
|
||
jobs: | ||
notify-release-analytics: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Notify release | ||
uses: fjogeleit/http-request-action@v1 | ||
with: | ||
url: ${{ vars.SERVER_ENDPOINT }}/notifyRelease?version=0.0.0 | ||
method: POST | ||
customHeaders: >- | ||
{ | ||
"X-Secret-Key": "${{ secrets.SERVER_MAINTENANCE_SECRET_KEY }}" | ||
} |