fix: old syndication flow

This commit is contained in:
Cory Dransfeldt 2024-04-20 10:46:18 -07:00
parent 87fd1f589e
commit c2289e488d
18 changed files with 12825 additions and 4 deletions

22
.github/workflows/scheduled-post.yaml vendored Normal file
View 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