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

Nested folders not considered in markdown images #12

Open
luisalima opened this issue Apr 24, 2024 · 0 comments
Open

Nested folders not considered in markdown images #12

luisalima opened this issue Apr 24, 2024 · 0 comments

Comments

@luisalima
Copy link

I have a markdown file that has an image reference like so:

![](./image.svg)

the file and the image are in a nested subfolder projects/sub1/sub2/file.md, projects/sub1/sub2/image.svg

Getting

Error: ENOENT: no such file or directory, open './projects/./image.svg'
Emitted 'error' event on Request instance at:
}

The action is configured as:

      - name: Sync projects folder to confluence
        uses: Bhacaz/docs-as-code-confluence@v2
        with:
          folder: projects
          username: ${{ secrets.CONFLUENCE_USERNAME }}
          password: ${{ secrets.CONFLUENCE_API_TOKEN }}
          confluence-base-url: ${{ secrets.CONFLUENCE_BASE_URL }}
          space-key: ${{ secrets.CONFLUENCE_SPACE_KEY }}
          parent-page-id: 131891301

Thanks in advance!

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