File tree Expand file tree Collapse file tree 1 file changed +7
-19
lines changed
Expand file tree Collapse file tree 1 file changed +7
-19
lines changed Original file line number Diff line number Diff line change @@ -21,21 +21,7 @@ concurrency:
2121 cancel-in-progress : true
2222
2323jobs :
24- # Build the Asciidoc documentation
25- build :
26- runs-on : ubuntu-latest
27- container : asciidoctor/docker-asciidoctor:latest
28- steps :
29- - name : Checkout
30- uses : actions/checkout@v3
31- - name : Build documentation
32- run : asciidoctor --safe -vn docs/using-newdoc.adoc --out-file=index.html
33- - name : Upload artifact
34- uses : actions/upload-pages-artifact@v1
35- with :
36- # Upload the generated HTML file
37- path : ' index.html'
38- # Publish the built documentation
24+ # Build and publish the documentation
3925 deploy :
4026 environment :
4127 name : github-pages
@@ -44,10 +30,12 @@ jobs:
4430 steps :
4531 - name : Checkout
4632 uses : actions/checkout@v3
47- - name : Dowload artifact
48- uses : actions/download-artifact@v1
49- with :
50- path : " index.html"
33+ # We have to install asciidoctor on Ubuntu because the asciidoctor container
34+ # comes with limited coreutils that can't upload artifacts (tar limitation).
35+ - name : Install asciidoctor
36+ run : apt-get update && apt-get --assume-yes install asciidoctor
37+ - name : Build documentation
38+ run : asciidoctor --safe -vn docs/using-newdoc.adoc --out-file=index.html
5139 - name : Setup Pages
5240 uses : actions/configure-pages@v2
5341 - name : Upload artifact
You can’t perform that action at this time.
0 commit comments