mirror of
https://github.com/CopterExpress/clover.git
synced 2026-05-26 11:43:25 +00:00
Run with QTWEBENGINE_DISABLE_SANDBOX=1
This commit is contained in:
2
.github/workflows/docs-docker.yaml
vendored
2
.github/workflows/docs-docker.yaml
vendored
@@ -15,7 +15,7 @@ jobs:
|
||||
run: docker build -t clover-docs:latest docs
|
||||
|
||||
- name: Test Docker image
|
||||
run: docker run -t --rm --no-sandbox -v `pwd`:/clover clover-docs:latest
|
||||
run: docker run -t --rm -v `pwd`:/clover clover-docs:latest
|
||||
|
||||
- name: Show results
|
||||
run: |
|
||||
|
||||
@@ -28,7 +28,7 @@ RUN curl https://raw.githubusercontent.com/CopterExpress/clover/master/book.json
|
||||
|
||||
RUN . $HOME/.nvm/nvm.sh && gitbook install
|
||||
|
||||
CMD . $HOME/.nvm/nvm.sh && cp -r node_modules /clover && cd /clover && gitbook build \
|
||||
CMD . $HOME/.nvm/nvm.sh && export QTWEBENGINE_DISABLE_SANDBOX=1 && cp -r node_modules /clover && cd /clover && gitbook build \
|
||||
&& gitbook pdf ./ _book/clover.pdf && \
|
||||
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/default -dNOPAUSE -dQUIET -dBATCH -dDetectDuplicateImages -dCompressFonts=true -r150 -sOutputFile=_book/clover_ru_compressed.pdf _book/clover_ru.pdf && \
|
||||
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/default -dNOPAUSE -dQUIET -dBATCH -dDetectDuplicateImages -dCompressFonts=true -r150 -sOutputFile=_book/clover_en_compressed.pdf _book/clover_en.pdf && \
|
||||
|
||||
Reference in New Issue
Block a user