File tree Expand file tree Collapse file tree 2 files changed +20
-15
lines changed
Expand file tree Collapse file tree 2 files changed +20
-15
lines changed Original file line number Diff line number Diff line change 2020 cancel-in-progress : true
2121
2222 runs-on : ubuntu-latest
23- # container:
24- # image: sphinxdoc/sphinx
25- # #options: --user 1001 (only if we don't need apt-get)
23+ container :
24+ image : sphinxdoc/sphinx
25+ # options: --user 1001 (only if we don't need apt-get)
2626
2727 env :
2828 MAIN_LANGS : en
@@ -32,16 +32,16 @@ jobs:
3232 - name : Checkout
3333 uses : actions/checkout@v4
3434
35- # - name: Checkout source repository
36- # uses: actions/checkout@v4
37- # with:
38- # repoository: nitrokey/nitrokey-documentation
39- # path: source.git
35+ - name : Checkout source repository
36+ uses : actions/checkout@v4
37+ with :
38+ repoository : nitrokey/nitrokey-documentation
39+ path : source.git
4040
41- # - name: Install additional python packages
42- # run: |
43- # make -C source.git venv
44- # ln -s source.git/venv venv
41+ - name : Install additional python packages
42+ run : |
43+ make -C source.git venv
44+ ln -s source.git/venv venv
4545
4646 - name : Weblate - pull component repository
4747 run : bash trigger_weblate.sh ${{ secrets.WEBLATE_API_URL }} none ${{ secrets.WEBLATE_TOKEN }} pull
Original file line number Diff line number Diff line change @@ -27,14 +27,19 @@ jobs:
2727 - name : Checkout
2828 uses : actions/checkout@v4
2929
30- - name : Install additional python packages
31- run : pip3 install -r requirements.txt
30+ # - name: Install additional python packages
31+ # run: pip3 install -r requirements.txt
3232
3333 - name : Checkout Sources
3434 uses : actions/checkout@v4
3535 with :
3636 repository : nitrokey/nitrokey-documentation
3737 path : source.git
38+
39+ - name : Install additional python packages
40+ run : |
41+ make -C source.git venv
42+ ln -s source.git/venv venv
3843
3944 - name : WORKAROUND - revert replace double backslashes in .po files
4045 shell : bash
4853 do
4954 mkdir -p dist/$lang
5055 mkdir -p build/$lang/doctrees
51- sphinx-build -j auto -b html -D language=$lang -d build/$lang/doctrees source.git/source dist/$lang
56+ venv/bin/ sphinx-build -j auto -b html -D language=$lang -d build/$lang/doctrees source.git/source dist/$lang
5257 done
5358
5459 - name : Cleanup before packing, pack only one _images
You can’t perform that action at this time.
0 commit comments