PritishMishraa / hashnode-publish-action

GitHub Action to publish blog post to Hashnode
MIT License
2 stars 0 forks source link

No src/posts folder found at... #1

Closed ladyofcode closed 7 months ago

ladyofcode commented 7 months ago

Hello! Thanks for creating this - hopefully it'll make cross-posting easier.

I've encountered the following error in the Actions log and would appreciate some assistance:

No src/posts folder found at /home/runner/work/_actions/PritishMishraa/hashnode-publish-action/v1.0.2/src/posts.

How would I go about addressing it? My .yml file contains the following:

name: Publish to Hashnode

on:
  push:
    branches:
      - master
    paths:
      - 'src/posts/**'
jobs:
  publish:
    runs-on: ubuntu-latest
    steps:
      - name: Publish to Hashnode
        uses: PritishMishraa/hashnode-publish-action@v1.0.2
        with:
          src: 'src/posts/'
          HASHNODE_PAT: ${{ secrets.HASHNODE_PAT }}
ladyofcode commented 7 months ago

I decided to go ahead and properly learn about GitHub Actions (started this morning! 😆) and write some code that'll cross-post to more than one platform.

Thanks anyway!