feat: linkedin workflow

This commit is contained in:
Cory Dransfeldt 2023-09-05 15:18:25 -07:00
parent c587ccedaf
commit 24b0d20265
No known key found for this signature in database

View file

@ -0,0 +1,18 @@
name: Scheduled blog posts to Linkedin
on:
workflow_dispatch:
schedule:
- cron: '0 */2 * * *'
jobs:
linkedin_rss_job:
runs-on: ubuntu-latest
name: Post Latest RSS Post to Linkedin
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Get Latest Post / Post On Linkedin
uses: Arisamiga/Linkedin-RSS@master
with:
feed_list: https://coryd.dev/feeds/posts
ln_access_token: {{ secrets.LI_TOKEN }}
embed_image: https://coryd.dev/assets/img/social-card.jpg