Skip to content

Commit f54c960

Browse files
authored
Merge pull request #4 from rubocop/chore2
Update deployment workflow to output HTML to _site directory and ignore it in .gitignore
2 parents 6648873 + 0c2bd7f commit f54c960

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
id: pages
2525
uses: actions/configure-pages@v5
2626
- name: AsciiDoc to HTML
27-
run: bundle exec asciidoctor -a toc="left" -a toclevels=2 README.adoc -o docs/index.html
27+
run: bundle exec asciidoctor -a toc="left" -a toclevels=2 README.adoc -o _site/index.html
2828
- uses: actions/upload-pages-artifact@v3
2929
deploy:
3030
environment:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
README.html
22
README.pdf
33
Gemfile.lock
4+
_site/

0 commit comments

Comments
 (0)