Skip to content

IPFS Deployer possibly duplicates subdirectory paths when deploying #1846

@pileks

Description

@pileks

When deploying using the IPFS deployer, dirs within dirs possibly has an issue wherein subpaths are "multiplied":

Structure of build dir:

├── docs
│   ├── pages
│   │   └── readme.md
│   └── polywrap.docs.json
├── wrap.info
└── wrap.wasm

Structure of deployment to IPFS:
https://ipfs.io/ipfs/QmaG1butqzL7vXqs5hZCkba4LAiGStrh3vx6eKz8sdFfDo/

├── docs
|   |
|   └──docs
│      ├── pages
│      │   └── readme.md
│      └── polywrap.docs.json
├── wrap.info
└── wrap.wasm

Notice the difference in the docs dir - the path to the wrap readme is different:
docs/pages/readme.md - local build dir
vs
docs/docs/pages/readme.md - what's on IPFS

Further investigation warranted.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions