diff --git a/.github/workflows/scheduled_sync.yml b/.github/workflows/scheduled_sync.yml index c22f245..48751f1 100644 --- a/.github/workflows/scheduled_sync.yml +++ b/.github/workflows/scheduled_sync.yml @@ -23,19 +23,19 @@ jobs: pip install -r requirements.txt - name: build pdf run: python main_async.py - - name: optimize pdf size - run: | - mkdir pdfsizeopt - cd pdfsizeopt - wget -O pdfsizeopt_libexec_linux.tar.gz https://github.com/pts/pdfsizeopt/releases/download/2023-04-18/pdfsizeopt_libexec_linux-v9.tar.gz - tar xzvf pdfsizeopt_libexec_linux.tar.gz - rm -f pdfsizeopt_libexec_linux.tar.gz - wget -O pdfsizeopt.single https://raw.githubusercontent.com/pts/pdfsizeopt/master/pdfsizeopt.single - chmod +x pdfsizeopt.single - ln -s pdfsizeopt.single pdfsizeopt - cd .. - mv out/guide.pdf . - ./pdfsizeopt/pdfsizeopt guide.pdf out/guide.pdf + # - name: optimize pdf size + # run: | + # mkdir pdfsizeopt + # cd pdfsizeopt + # wget -O pdfsizeopt_libexec_linux.tar.gz https://github.com/pts/pdfsizeopt/releases/download/2023-04-18/pdfsizeopt_libexec_linux-v9.tar.gz + # tar xzvf pdfsizeopt_libexec_linux.tar.gz + # rm -f pdfsizeopt_libexec_linux.tar.gz + # wget -O pdfsizeopt.single https://raw.githubusercontent.com/pts/pdfsizeopt/master/pdfsizeopt.single + # chmod +x pdfsizeopt.single + # ln -s pdfsizeopt.single pdfsizeopt + # cd .. + # mv out/guide.pdf . + # ./pdfsizeopt/pdfsizeopt guide.pdf out/guide.pdf - name: build redirect page run: cp resources/index.html out/index.html - name: upload