Skip to content

Commit

Permalink
chore: add workflow to test HTTP client
Browse files Browse the repository at this point in the history
  • Loading branch information
nicopico-dev committed Oct 24, 2024
1 parent 4928319 commit ffb21ba
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy-on-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
prerelease: false
draft: true
notify-release-analytics:
if: false # Failing when launched from GitHub
needs: deploy
runs-on: ubuntu-latest
steps:
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/test-http-client.yml
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 }}"
}

0 comments on commit ffb21ba

Please sign in to comment.