From c44e458374c7afbb2ba2b1d7727e0cf5e3ad5a62 Mon Sep 17 00:00:00 2001 From: mrbobbytables Date: Fri, 18 Sep 2026 16:57:35 +0000 Subject: [PATCH] ci: remove broken pdf.yml workflow The weekly Generate Docs PDF workflow (.github/workflows/pdf.yml) built its output from https://contribute-cncf-io.netlify.app, the CNCF Contributors site, not this repo's End User Community site. It was added when this repository was contribute.cncf.io and was never updated after the repo was repurposed. The workflow was also broken independently: it crashes on Node 22 (import assertions removed), its upload step targets a release tag (0.1) that does not exist, and it runs an unpinned docusaurus-prince-pdf via npx. No release or page in this repo links to the generated PDF, so remove the workflow instead of fixing it piecemeal. Fixes #271 Fixes #123 Fixes #188 Fixes #258 Signed-off-by: mrbobbytables --- .github/workflows/pdf.yml | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 .github/workflows/pdf.yml diff --git a/.github/workflows/pdf.yml b/.github/workflows/pdf.yml deleted file mode 100644 index d240bdf..0000000 --- a/.github/workflows/pdf.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Generate Docs PDF -on: - schedule: - - cron: "50 5 * * 0" # 5:50 UTC Weekly on Sundays - workflow_dispatch: - -jobs: - pdf: - permissions: - contents: write - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 - - - name: Install Prince - run: | - curl -fsSL https://www.princexml.com/download/prince-15.4.1-linux-generic-x86_64.tar.gz -O - echo '4b91241934bbfc11041e81313c0e6770b76154bae34f06053302052c2e078fdd prince-15.4.1-linux-generic-x86_64.tar.gz' | sha256sum -c - - tar zxf prince-15.4.1-linux-generic-x86_64.tar.gz - cd prince-15.4.1-linux-generic-x86_64 - yes "" | sudo ./install.sh - - name: Build PDF - run: npx docusaurus-prince-pdf --toc -u https://contribute-cncf-io.netlify.app -o pdf/contribute.pdf - - name: Upload results - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 - with: - name: contribute-cncf-io - # The output filename can be specified with --output option - path: pdf/contribute.pdf - if-no-files-found: error - overwrite: true - - name: Upload Release Artifact - if: github.event_name != 'pull_request' - env: - GITHUB_TOKEN: ${{ github.token }} - run: | - gh release upload --clobber 0.1 pdf/contribute.pdf