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

Add Github Action for publish spec to NeoFS #87

Merged
merged 1 commit into from
Nov 10, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/neofs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Publish to NeoFS
on:
push:
branches: [ master ]

jobs:
push-to-neofs:
runs-on: ubuntu-latest
steps:
- name: Build Docker image
run: make image

- name: Get pdf file
run: make docker/pdf

- uses: actions/checkout@v4
- name: Publish to NeoFS
uses: nspcc-dev/[email protected]
with:
NEOFS_WALLET: ${{ secrets.NEOFS_WALLET }}
NEOFS_WALLET_PASSWORD: ${{ secrets.NEOFS_WALLET_PASSWORD }}
NEOFS_NETWORK_DOMAIN: ${{ env.NEOFS_NETWORK_DOMAIN }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vvarg229, why do we have a domain here?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vvarg229, why do we have a domain here?

How else do you identify which neofs network to use?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's about gateway IIRC.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To produce a link to download/view the uploaded thing.

NEOFS_HTTP_GATE: ${{ env.NEOFS_HTTP_GATE }}
STORE_OBJECTS_CID: ${{ env.STORE_OBJECTS_CID }}
PATH_TO_FILES_DIR: output
Loading