Skip to content

Commit

Permalink
workflows: fix upload to NeoFS
Browse files Browse the repository at this point in the history
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.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
  • Loading branch information
roman-khimov committed May 9, 2024
1 parent 34f7eb9 commit 2440904
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ jobs:
NEOFS_HTTP_GATE: ${{ vars.NEOFS_HTTP_GATE }}
STORE_OBJECTS_CID: ${{ vars.STORE_OBJECTS_CID }}
PATH_TO_FILES_DIR: fs.neo.org
STRIP_PREFIX: true
REPLACE_CONTAINER_CONTENTS: true

- name: Attach binary to the release as an asset
Expand Down

0 comments on commit 2440904

Please sign in to comment.