Skip to content

Commit

Permalink
git: Add Github Action for publish spec to NeoFS
Browse files Browse the repository at this point in the history
closes #85

Signed-off-by: Mikhail Petrov <[email protected]>
  • Loading branch information
mike-petrov committed Nov 10, 2023
1 parent d37f04c commit 113b8ab
Showing 1 changed file with 25 additions and 0 deletions.
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 }}
NEOFS_HTTP_GATE: ${{ env.NEOFS_HTTP_GATE }}
STORE_OBJECTS_CID: ${{ env.STORE_OBJECTS_CID }}
PATH_TO_FILES_DIR: output

0 comments on commit 113b8ab

Please sign in to comment.