Feed to social media #80
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Feed to social media | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "15 3,10 * * *" | |
permissions: | |
contents: write # To write the generated contents to the readme | |
jobs: | |
Feed2SocialMedia: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Feed to social media | |
uses: lwojcik/github-action-feed-to-social-media@v2 | |
with: | |
feedUrl: "https://9renpoto.win/rss.xml" | |
newestItemStrategy: "latestDate" | |
postFormat: "Blogged: {title}\n\n{link}" | |
# Twitter settings | |
twitterEnable: true | |
twitterApiKey: ${{ secrets.X_API_KEY }} | |
twitterApiKeySecret: ${{ secrets.X_API_SECRET }} | |
twitterAccessToken: ${{ secrets.X_ACCESS_TOKEN }} | |
twitterAccessTokenSecret: ${{ secrets.X_ACCESS_TOKEN_SECRET }} | |
# Bluesky settings | |
blueskyEnable: true | |
blueskyAppPassword: ${{ secrets.BSKY_APP_PASSWORD }} | |
blueskyHandle: "9renpoto.bsky.social" | |
blueskyOwnerHandle: "9renpoto.bsky.social" | |
blueskyOwnerContact: "9renpoto+bsky@gmail.com" |