Skip to content

Commit dd8b6f4

Browse files
committed
tweak workflow yml
1 parent 9204bd8 commit dd8b6f4

File tree

4 files changed

+32
-33
lines changed

4 files changed

+32
-33
lines changed

.github/workflows/deploy-site.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ on:
88
jobs:
99
build:
1010
runs-on: ubuntu-latest
11-
1211
steps:
1312
- name: Checkout Repository
1413
uses: actions/checkout@v3

.github/workflows/publish-pdf.yaml

Lines changed: 0 additions & 30 deletions
This file was deleted.

.github/workflows/publish-pdf.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Build and release PDF
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout Repository
13+
uses: actions/checkout@v3
14+
15+
- name: Extract assets
16+
run: docker cp $(docker run --detach quay.io/redhat-docs/redhat-docs-pdf-template):/pdf-assets ./pdf-assets
17+
18+
- name: Build PDF
19+
uses: docker://quay.io/redhat-docs/redhat-docs-pdf-template
20+
with:
21+
args: main.adoc
22+
23+
- name: Create PDF release
24+
run: |
25+
echo $GITHUB_RUN_NUMBER > version.txt
26+
mv main.pdf cnf-best-practices.pdf
27+
gh release create v$GITHUB_RUN_NUMBER cnf-best-practices.pdf
28+
29+
env:
30+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

modules/cnf-best-practices-hugepages.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[id="cnf-best-practices-huge-pages"]
22
= Huge pages
33

4-
In Openshift Container Platform, nodes/hosts must pre-allocate huge pages.
4+
In OpenShift Container Platform, nodes/hosts must pre-allocate huge pages.
55

66
For more information, see
77
link:https://docs.openshift.com/container-platform/latest/scalability_and_performance/cnf-low-latency-tuning.html#cnf-configuring-huge-pages_cnf-master[Configuring huge pages].
88

99

10-
To request hugepages, pods must supply the following within the `pod.spec` for each container:
10+
To request `hugepages`, pods must supply the following within the `pod.spec` for each container:
1111

1212
[source,yaml]
1313
----

0 commit comments

Comments
 (0)