Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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 |