Skip to content

Commit

Permalink
ci: add puppeteer args
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleythedeveloper committed Feb 10, 2025
1 parent bdd8f46 commit 0d2aa44
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docs-to-pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,16 @@ jobs:
- name: Generate PDF
run: |
echo "waiting for two minutes for GitHub pages to be deployed..."
sleep 120 && echo "Done!"
# sleep 120 && echo "Done!"
npx docs-to-pdf --initialDocURLs="https://uncefact.github.io/spec-untp/docs/about/" \
--contentSelector="article" \
--paginationSelector="a.pagination-nav__link.pagination-nav__link--next" \
--excludeSelectors=".breadcrumbs,.theme-edit-this-page" \
--excludeURLs="https://uncefact.github.io/spec-untp/docs/about/Meetings,https://uncefact.github.io/spec-untp/docs/about/FAQ" \
--outputPDFFilename="website/static/un-transparency-protocol.pdf" \
--coverTitle="UN Transparency Protocol" \
--coverImage="https://uncefact.github.io/spec-untp/img/home-hero.jpg"
--coverImage="https://uncefact.github.io/spec-untp/img/home-hero.jpg" \
--puppeteerArgs="--no-sandbox,--disable-setuid-sandbox"
- name: commit pdf
run: |
Expand Down

0 comments on commit 0d2aa44

Please sign in to comment.