feat: linkedin workflow
This commit is contained in:
parent
c587ccedaf
commit
24b0d20265
1 changed files with 18 additions and 0 deletions
18
.github/workflows/blog-posts-to-linkedin.yaml
vendored
Normal file
18
.github/workflows/blog-posts-to-linkedin.yaml
vendored
Normal 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
|
Reference in a new issue