Skip to content

Nested folders not considered in markdown images #12

Description

@luisalima

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions