Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

rss-to-mastodon

rss-to-mastodon #34148

# Source: https://github.com/jser/mastofeedbot
name:rss-to-mastodon
on:
schedule:
-cron:'*/15 * * * *'
workflow_dispatch:
jobs:
realtime:
runs-on:ubuntu-latest
steps:
-name:Generate cache key
uses:actions/github-script@v6
id:generate-key
with:
script:|
core.setOutput('cache-key', new Date().valueOf())
-name:Retrieve cache
uses:actions/cache@v3
with:
path:${{ github.workspace }}/mastofeedbot
key:feed-cache-realtime-jser-info-${{ steps.generate-key.outputs.cache-key }}
restore-keys:feed-cache-realtime-jser-info-
-name:JSer.info
uses:'jser/mastofeedbot@main'
with:
rss-feed:https://realtime.jser.info/feed.xml
api-endpoint:https://mstdn.jp
api-token:${{ secrets.JSER_MASTODON_TOKEN }}
cache-file:${{ github.workspace }}/mastofeedbot/cache.json
status-template:"{{title}}\n{{link}}\n\n{{description}}"
jser:
runs-on:ubuntu-latest
steps:
-name:Generate cache key
uses:actions/github-script@v6
id:generate-key
with:
script:|
core.setOutput('cache-key', new Date().valueOf())
-name:Retrieve cache
uses:actions/cache@v3
with:
path:${{ github.workspace }}/mastofeedbot
key:feed-cache-jser-info-${{ steps.generate-key.outputs.cache-key }}
restore-keys:feed-cache-jser-info-
-name:JSer.info
uses:'jser/mastofeedbot@main'
with:
rss-feed:https://jser.info/rss/
api-endpoint:https://mstdn.jp
api-token:${{ secrets.JSER_MASTODON_TOKEN }}
cache-file:${{ github.workspace }}/mastofeedbot/cache.json
status-template:"今週のJSer.infoを更新しました!\n{{title}}\n{{link}}"

[8]ページ先頭

©2009-2025 Movatter.jp