Skip to content

Commit

Permalink
include pdf generation to github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
masao committed Mar 9, 2024
1 parent 0caaa8a commit 39869c7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ jobs:
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: production
- name: Generate PDFs
run: |
bundle exec _pdf/convert-adoc2pdf.rb
mv _pdf/enju_*_all.pdf _site/1.4/
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
deploy:
Expand All @@ -35,4 +39,4 @@ jobs:
uses: actions/deploy-pages@v4
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
url: ${{ steps.deployment.outputs.page_url }}
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ gem 'rake-jekyll', '~> 1.1.0'

group :jekyll_plugins do
gem 'jekyll-asciidoc', '~> 3.0.0'
gem 'asciidoctor-pdf'
gem 'prawn-gmagick'
end

0 comments on commit 39869c7

Please sign in to comment.