A GitHub Action that sends a message to VSpace through its webhook, so you can get notified from your workflows.
| Name | Required | Description |
|---|---|---|
webhook-url |
yes | The Update URL you got from VSpace |
secret-key |
yes | The Secret Key you got from VSpace |
messages |
yes | The message you want to send from the action |
The action sends a POST request to webhook-url with the secret-key header and a JSON body of {"text": "<messages>"}. It fails the step if the request fails.
Store the URL and key as repository secrets, then add a step to your workflow:
name: Notify VSpace
on:
push:
branches: [main]
jobs:
notify:
runs-on: ubuntu-latest
steps:
- uses: virtualspirit/vspace-webhook@main
with:
webhook-url: ${{ secrets.VSPACE_WEBHOOK_URL }}
secret-key: ${{ secrets.VSPACE_SECRET_KEY }}
messages: "Deployed ${{ github.repository }} @ ${{ github.sha }}"The action runs on Node 24 and node_modules is committed, because GitHub runs index.js directly. After changing dependencies, commit the updated node_modules too.
npm installISC