chore: feeds
This commit is contained in:
parent
1e106320c1
commit
d32e976329
8 changed files with 25 additions and 14090 deletions
22
.github/workflows/scheduled-post.yaml
vendored
22
.github/workflows/scheduled-post.yaml
vendored
|
@ -1,22 +0,0 @@
|
|||
name: Scheduled follow feed to Mastodon
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '0 */2 * * *'
|
||||
jobs:
|
||||
JSONFeed2Mastodon:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Feed to Mastodon
|
||||
uses: nhoizey/github-action-feed-to-mastodon@v2
|
||||
with:
|
||||
feedUrl: "https://coryd.dev/feeds/all.json"
|
||||
mastodonInstance: "https://social.lol"
|
||||
mastodonToken: ${{ secrets.MASTODON_TOKEN }}
|
||||
globalDelayToots: 0
|
||||
- name: Pull any changes from Git
|
||||
run: git pull
|
||||
- name: Commit and push
|
||||
uses: stefanzweifel/git-auto-commit-action@v4
|
Reference in a new issue