Skip to content

Latest commit

 

History

History
65 lines (44 loc) · 1.76 KB

README.md

File metadata and controls

65 lines (44 loc) · 1.76 KB

pocketcasts-readme

Updates README with recently listened podcasts from Pocketcasts

Setup

Prep Work

  1. You need to save the pocketcasts Email & Password in the repository secrets. You can find that in the Settings of your Repository. Be sure to save those as the following.

    • POCKETCASTS_EMAIL = <your Pocketcasts Email>
    • POCKETCASTS_PASSWORD = <your Pocketcasts Password>

Update your README

Add a comment to your README.md like this:

<!-- PODCAST-LIST:START -->

<!-- PODCAST-LIST:END -->

Repository Workflow

Please follow the steps below:

  1. Go to your <username>/<username>/actions, hit New workflow, set up a workflow yourself, delete all the default content github made for you.
  2. Copy the below code and paste it to your new workflow
name: Update pods
on:
    workflow_dispatch:
    schedule:
    # Runs every 8 hours
    - cron: "0 */8 * * *"

permissions:
    contents: write

jobs:
    build:
        runs-on: ubuntu-latest

        steps:
            - name: Checkout Code
              uses: actions/checkout@v3
            - name: Update README
              uses: maheshrjl/pocketcasts-readme@main
              with:
                  POCKETCASTS_EMAIL: ${{ secrets.POCKETCASTS_EMAIL }}
                  POCKETCASTS_PASSWORD: ${{ secrets.POCKETCASTS_PASSWORD }}
            - name: Push Changes
              uses: stefanzweifel/git-auto-commit-action@v4

License

CC0

To the extent possible under law, Mahesh Rijal has waived all copyright and related or neighboring rights to this work.

Inspired by abhisheknaiidu/todoist-readme