File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,15 @@ jobs:
13
13
- name : Build Docker image
14
14
run : make image
15
15
16
+ - name : Get pdf file name
17
+ run : |
18
+ echo "PDF_FILE_NAME=$(make pdf_file_name)" >> $GITHUB_ENV
19
+
16
20
- name : Get pdf file
17
21
run : make docker/pdf
18
22
19
23
- name : Publish to NeoFS
24
+ id : publish_spec_pdf_to_neofs
20
25
21
26
with :
22
27
NEOFS_WALLET : ${{ secrets.NEOFS_WALLET }}
25
30
NEOFS_HTTP_GATE : ${{ vars.NEOFS_HTTP_GATE }}
26
31
STORE_OBJECTS_CID : ${{ vars.STORE_OBJECTS_CID }}
27
32
PATH_TO_FILES_DIR : output
33
+
34
+ - name : Post the link to the spec
35
+ env :
36
+ CONTAINER_URL : ${{ steps.publish_spec_pdf_to_neofs.outputs.OUTPUT_CONTAINER_URL }}
37
+ SPEC_FILE : ${{ env.PDF_FILE_NAME }}
38
+ uses : Sibz/github-status-action@v1
39
+ with :
40
+ authToken : ${{secrets.GITHUB_TOKEN}}
41
+ context : ' Neofs spec pdf'
42
+ state : ' success'
43
+ sha : ${{github.event.pull_request.head.sha || github.sha}}
44
+ target_url : ${{ env.CONTAINER_URL }}/${{ env.SPEC_FILE }}
You can’t perform that action at this time.
0 commit comments