fix: old syndication flow
This commit is contained in:
parent
87fd1f589e
commit
c2289e488d
18 changed files with 12825 additions and 4 deletions
22
.github/workflows/scheduled-post.yaml
vendored
Normal file
22
.github/workflows/scheduled-post.yaml
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
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/share-follow.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