Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Allow using local RSS file #1

Open
TheGroundZero opened this issue Jan 16, 2025 · 0 comments
Open

[Feature Request] Allow using local RSS file #1

TheGroundZero opened this issue Jan 16, 2025 · 0 comments

Comments

@TheGroundZero
Copy link

I´d like to use this action as part of publishing my static website.
This website is first build in Hugo, then pushed to GitHub pages.
So there's a delay between building the site and the update being available online.
However, the RSS file is creating during the build stage.

As such, it would be nice to do e.g.

name: Deploy page

on:
  push:

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - name: Deploy page
        uses: my-repo/page-deployer

  publish:
    runs-on: ubuntu-latest
    needs: [deploy]
    steps:
      - name: Fetch RSS Data
        id: rss
        uses: CodingBull-dev/newest-rss-post-action@main
        with:
          rss: ./public/blog/rss.xml  # <---- use local file instead of remote

If this is already supported, could the documentation be updated to reflect this and to indicate what the path format should be?

@TheGroundZero TheGroundZero changed the title [Feature Request] Allow adding local RSS fileugo [Feature Request] Allow using local RSS file Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant