File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4848 run : bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
4949 env :
5050 JEKYLL_ENV : production
51- - name : Setup Node.js for PDF generation
52- uses : actions/setup-node@v4
53- with :
54- node-version : ' 18'
55- - name : Generate PDFs
56- run : |
57- npm install -g puppeteer-cli
58- mkdir -p ./_site/assets/files
59-
60- # Convert specific pages to PDF directly to _site
61- puppeteer print --no-sandbox "file://${{ github.workspace }}/_site/docs/installation-og-drift/index.html" "./_site/assets/files/installationsguide.pdf"
62-
63- # Verify PDF was created
64- ls -lah ./_site/assets/files/
6551 - name : Upload artifact
6652 # Automatically uploads an artifact from the './_site' directory by default
6753 uses : actions/upload-pages-artifact@v3
7662 steps :
7763 - name : Deploy to GitHub Pages
7864 id : deployment
79- uses : actions/deploy-pages@v4
65+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments