Skip to content

Commit

Permalink
Fix patch script
Browse files Browse the repository at this point in the history
  • Loading branch information
Musicminion authored Feb 10, 2024
1 parent 0964718 commit bccf5b6
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 22 deletions.
23 changes: 1 addition & 22 deletions .github/workflows/overleaf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,28 +23,7 @@ jobs:
cache-dependency-path: overleaf/package-lock.json
- name: "Patch Files"
run: |
cp -r ./patches/config-clsi-match/* ./overleaf
cd ./overleaf && ./run.sh && cd ..
cp -r ./patches/config-web-setting/* ./overleaf
cd ./overleaf && ./run.sh && cd ..
cp -r ./patches/cron-setting/* ./overleaf
cd ./overleaf && ./run.sh && cd ..
cp -r ./patches/unlock-50M-limit/* ./overleaf
cd ./overleaf && ./run.sh && cd ..
cp -r ./patches/nginx-learn-config/* ./overleaf
cd ./overleaf && ./run.sh && cd ..
cp -r ./patches/short-key-title/* ./overleaf
cd ./overleaf && ./run.sh && cd ..
cp -r ./patches/symbol-palette/* ./overleaf
cd ./overleaf && ./run.sh && cd ..
cp -r ./patches/track-change/* ./overleaf
cd ./overleaf && ./run.sh && cd ..
# cp -r ./patches/references/* ./overleaf
# cd ./overleaf && ./run.sh && cd ..
cp ./patches/more-theme/* ./overleaf
cd ./overleaf && ./run.sh && rm -rf ./run.sh && cd ..
# cd ./overleaf && rm -rf ./package-lock.json && npm install --package-lock-only --ignore-scripts
# echo ./package-lock.json
./patch.sh
- name: "Make CE Docker Image"
run: |
cd ./overleaf/server-ce && make
Expand Down
22 changes: 22 additions & 0 deletions patch.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# /bin/bash
cp -r ./patches/config-clsi-match/* ./overleaf
cd ./overleaf && ./run.sh && cd ..
cp -r ./patches/config-web-setting/* ./overleaf
cd ./overleaf && ./run.sh && cd ..
cp -r ./patches/cron-setting/* ./overleaf
cd ./overleaf && ./run.sh && cd ..
cp -r ./patches/unlock-50M-limit/* ./overleaf
cd ./overleaf && ./run.sh && cd ..
cp -r ./patches/nginx-learn-config/* ./overleaf
cd ./overleaf && ./run.sh && cd ..
cp -r ./patches/short-key-title/* ./overleaf
cd ./overleaf && ./run.sh && cd ..
cp -r ./patches/symbol-palette/* ./overleaf
cd ./overleaf && ./run.sh && cd ..
cp -r ./patches/track-change/* ./overleaf
cd ./overleaf && ./run.sh && cd ..
cp -r ./patches/references/* ./overleaf
cd ./overleaf && ./run.sh && cd ..
cp ./patches/more-theme/* ./overleaf
cd ./overleaf && ./run.sh && rm -rf ./run.sh && cd ..
cd ./overleaf && npm install --package-lock-only --ignore-scripts

0 comments on commit bccf5b6

Please sign in to comment.