nspcc-dev / fs-neo-org

It's a landing page that describes all the advantages of using it and everything under the hood of NeoFS.
https://fs.neo.org/
GNU General Public License v3.0
0 stars 0 forks source link

workflows: fix upload to NeoFS #53

Closed roman-khimov closed 6 months ago

roman-khimov commented 6 months ago

gh-push-to-neofs doesn't strip PATH_TO_FILES_DIR from FilePath which leads to uploads using attributes like

--attributes FilePath=fs.neo.org/images/icons/icon5.svg,ContentType=image/svg+xml

while in fact we need

--attributes FilePath=images/icons/icon5.svg,ContentType=image/svg+xml

for the site to work properly.

roman-khimov commented 6 months ago

Depends on https://github.com/nspcc-dev/gh-push-to-neofs/pull/21