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 Oct 20, 2023
1 parent d37f04c commit 612b1b4
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/neofs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Publish to NeoFS
on:
push:
branches: [ master ]

env:
NEOFS_NETWORK_DOMAIN: 'st1.storage.fs.neo.org'
NEOFS_HTTP_GATE: 'http.fs.neo.org'
PATH_TO_FILES_DIR: 'output/neofs-spec-<revision>.pdf'
STORE_OBJECTS_CID: ''

jobs:
push-to-neofs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install
run: make image

- name: Compile
run: make docker/pdf

- name: Publish to NeoFS
uses: nspcc-dev/gh-push-allure-report-to-neofsfs@master
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: ${{ env.REPORT_DIR }}

0 comments on commit 612b1b4

Please sign in to comment.