File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 1
1
# Render the sample spec on pushes to main.
2
+ #
3
+ # HTML URL: https://opencomputeproject.github.io/ocp-spec-tools/sample-spec/HEAD
4
+ # PDF URL: https://opencomputeproject.github.io/ocp-spec-tools/sample-spec/HEAD/pdf
2
5
name : render-sample-spec
3
6
4
7
on :
20
23
"gh_pages_pdf": "sample-spec/HEAD/pdf"
21
24
}
22
25
]
26
+ artifact-name : rendered-spec
27
+
28
+ deploy :
29
+ environment :
30
+ name : github-pages
31
+ url : ${{ steps.deployment.outputs.page_url }}
32
+ runs-on : ubuntu-latest
33
+ needs : [render-sample]
34
+ steps :
35
+ - name : Download rendered artifacts
36
+ uses : actions/download-artifact@v4
37
+ with :
38
+ name : rendered-spec
39
+ path : gh-pages
40
+ - name : Upload files as artifact
41
+ uses : actions/upload-pages-artifact@v3
42
+ with :
43
+ path : " gh-pages"
44
+ - name : Deploy to GitHub Pages
45
+ id : deployment
46
+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments