manuelver/.github/workflows/blog-post-workflow.yml
2023-06-16 22:48:30 +02:00

24 lines
945 B
YAML

name: Latest blog post workflow πŸ“–
on:
workflow_dispatch:
schedule:
- cron: '0 7 * * 0,1,6'
jobs:
update-readme-with-blog:
name: Update this repo's README with latest blog posts
runs-on: ubuntu-latest
steps:
- name: Checkout πŸ“­
uses: actions/checkout@v2
- name: Pull posts πŸ“‘
uses: gautamkrishnar/blog-post-workflow@master
with:
feed_list: "https://vergaracarmona.es/feed/"
max_post_count: "20"
readme_path: ./README.md
comment_tag_name: "APUNTES"
date_format: UTC:dd/mm/yyyy
template: "<tr><td>$date</td><td>$randomEmoji(πŸ’―,πŸ”₯,πŸ’«,πŸš€,🦾,πŸ€™πŸΎ,πŸ€–,πŸ—£,πŸ‘©πŸ½β€πŸ’»,πŸ’Ό,🐍,🐳,🌱,⚑️,πŸ’«,🌻,🍺,πŸ’»,πŸ› ,πŸ”‘,πŸ“¦,πŸ“Ž,πŸ””,πŸ“’) <b>$title</b></td><td>$url</td><td>$categories</td></tr>"