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