Skip to content

Commit 1f4a28c

Browse files
author
Marek Suchánek
authored
Artifacts must be directories
1 parent 5b965a3 commit 1f4a28c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ jobs:
3535
- name: Install asciidoctor
3636
run: sudo apt-get update && sudo apt-get --assume-yes install asciidoctor
3737
- name: Build documentation
38-
run: asciidoctor --safe -vn docs/using-newdoc.adoc --out-file=index.html
38+
run: asciidoctor --safe -vn docs/using-newdoc.adoc --out-file=docs/index.html
3939
- name: Setup Pages
4040
uses: actions/configure-pages@v2
4141
- name: Upload artifact
4242
uses: actions/upload-pages-artifact@v1
4343
with:
4444
# Upload the generated HTML file
45-
path: 'index.html'
45+
path: 'docs'
4646
- name: Deploy to GitHub Pages
4747
id: deployment
4848
uses: actions/deploy-pages@v1

0 commit comments

Comments
 (0)