-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git: Add Github Action for publish spec to NeoFS
closes #85 Signed-off-by: Mikhail Petrov <[email protected]>
- Loading branch information
1 parent
d37f04c
commit 612b1b4
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |