Skip to content

Commit 97e5d0b

Browse files
committed
adjust website build
1 parent 6f3e579 commit 97e5d0b

File tree

8 files changed

+9
-2931
lines changed

8 files changed

+9
-2931
lines changed

.github/workflows/deploy-site.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,21 @@ jobs:
1313
- name: Checkout Repository
1414
uses: actions/checkout@v3
1515

16-
- name: Build Asciidoc
17-
uses: docker://asciidoctor/docker-asciidoctor
16+
- name: Extract assets
17+
run: docker cp $(docker run --detach quay.io/redhat-docs/redhat-docs-template):/assets ./assets
18+
19+
- name: Build AsciiDoc
20+
uses: docker://quay.io/redhat-docs/redhat-docs-template
1821
with:
19-
args: "asciidoctor out/cnf-reqs-1.3.adoc -o index.html"
22+
args: main.adoc
2023

2124
- name: Copy output to docs/
2225
run: |
2326
mkdir docs
24-
cp -r out/images/ docs/images
27+
cp -r images/ docs/images
28+
cp -r assets/ docs/assets
2529
mv index.html docs/
30+
2631
- name: Publish to GitHub Pages
2732
uses: peaceiris/actions-gh-pages@v3
2833
with:

0 commit comments

Comments
 (0)