Send EVENT to Nostr.
steps:
- uses: snow-actions/[email protected]
with:
relays: |
${{ vars.NOSTR_RELAY_1 }}
${{ vars.NOSTR_RELAY_2 }}
private-key: ${{ secrets.NOSTR_PRIVATE_KEY }}
content: |
Text message
id: publish
- run: echo "${event}"
env:
event: ${{ steps.publish.outputs.event }}
See action.yml
Name | Description | Default | Required |
---|---|---|---|
relays |
Relay URLs wss://... (separated by \n ) |
- | yes |
private-key |
Private key (nsec or hex) | - | yes |
content |
Content | - | yes |
kind |
Kind | 1 | no |
See action.yml
Name | Description |
---|---|
event |
Published event |
ubuntu-*
windows-*
macos-*
self-hosted
- Any
- Node.js 16
- See package.json
Welcome.