rss-to-twitter #27
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: rss-to-twitter | |
on: | |
page_build | |
jobs: | |
twitter: | |
# if github.event.build.error.message is not null, it means that the build failed. Skip it | |
if: ${{ github.event.build.error.message == null }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: azu/rss-to-twitter@v1 | |
with: | |
RSS_URL: "https://ecmascript-daily.github.io/atom.xml" | |
TWEET_TEMPLATE: 'New Post: "%title%" %url% %desc%' | |
UPDATE_WITHIN_MINUTES: 15 # post items that are updated within 15 minutes | |
TWITTER_APIKEY: ${{ secrets.TWITTER_APIKEY }} | |
TWITTER_APIKEY_SECRET: ${{ secrets.TWITTER_APIKEY_SECRET }} | |
TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }} | |
TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }} |