Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dojineko/scrapbox-notify
💬 Notify Scrapbox project updates to Slack and Discord.
https://github.com/dojineko/scrapbox-notify
github-actions javascript scrapbox typescript
Last synced: 16 days ago
JSON representation
💬 Notify Scrapbox project updates to Slack and Discord.
- Host: GitHub
- URL: https://github.com/dojineko/scrapbox-notify
- Owner: dojineko
- Created: 2024-01-13T05:35:18.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-01-13T11:28:11.000Z (11 months ago)
- Last Synced: 2024-11-30T15:45:50.962Z (22 days ago)
- Topics: github-actions, javascript, scrapbox, typescript
- Language: TypeScript
- Homepage: https://dojineko.dev
- Size: 20.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Scrapbox Notify
Notify Scrapbox project updates to Slack and Discord.
## Example
```yml
on:
schedule:
- cron: "0 4 * * *"
workflow_dispatch:
jobs:
notify:
runs-on: ubuntu-latest
steps:
- uses: dojineko/scrapbox-notify@main
with:
feed_url: ${{ secrets.FEED_URL }}
slack_webhook: ${{ secrets.SLACK_WEBHOOK }}
discord_webhook: ${{ secrets.DISCORD_WEBHOOK }}
```## Variables
| Variables | Required | Purpose |
| --------------- | :------: | ------------------------------------------------------------- |
| feed_url | ✅ | Feed URL (e.g. `https://scrapbox.io/api/feed/${projectName}`) |
| slack_webhook | | Slack Incoming Webhook |
| discord_webhook | | Discord Incoming Webhook |