Skip to content

Commit

Permalink
comment out compression to speed up workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rabbull committed Apr 23, 2024
1 parent 4c965bd commit 45eddb7
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/scheduled_sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 45eddb7

Please sign in to comment.