Skip to content

Commit 4da2f11

Browse files
committed
ci: finalize re-write-less migration; cleanups
1 parent d820b62 commit 4da2f11

File tree

2 files changed

+1
-67
lines changed

2 files changed

+1
-67
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@ jobs:
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)
26-
23+
2724
env:
2825
MAIN_LANGS: en
2926
OTHER_LANGS: de es fr ru nl it ja el bg da et fi lv lt pl pt ro sv sk sl cs hu zh_CN
@@ -32,29 +29,12 @@ jobs:
3229
- name: Checkout
3330
uses: actions/checkout@v4
3431

35-
#- name: Checkout source repository
36-
# uses: actions/checkout@v4
37-
# with:
38-
# repository: nitrokey/nitrokey-documentation
39-
# path: source.git
40-
41-
#- name: Install additional python packages
42-
# run: |
43-
# make -C source.git venv
44-
# ln -s source.git/venv venv
45-
4632
- name: Weblate - pull component repository
4733
run: bash trigger_weblate.sh ${{ secrets.WEBLATE_API_URL }} none ${{ secrets.WEBLATE_TOKEN }} pull
4834

4935
- name: Weblate - force wait hoping for weblate to settle
5036
run: sleep 180
5137

52-
# - name: Checkout Sources
53-
# uses: actions/checkout@v4
54-
# with:
55-
# repository: nitrokey/nitrokey-documentation
56-
# path: source.git
57-
5838
- name: Weblate - trigger automated translations
5939
shell: bash
6040
run: |
@@ -66,46 +46,3 @@ jobs:
6646
- name: Weblate - push to upstream
6747
run: bash trigger_weblate.sh ${{ secrets.WEBLATE_API_URL }} none ${{ secrets.WEBLATE_TOKEN }} push
6848

69-
# - name: WORKAROUND - revert replace double backslashes in .po files
70-
# shell: bash
71-
# run: |
72-
# sed -ie 's@/bs/@\\\\@g' $(find locales -name "*.po" | xargs)
73-
74-
# - name: Build full docs (all languages)
75-
# run: |
76-
# cp -r locales source.git/source/locales
77-
# for lang in $MAIN_LANGS $OTHER_LANGS
78-
# do
79-
# mkdir -p dist/$lang
80-
# mkdir -p build/$lang/doctrees
81-
# sphinx-build -j auto -b html -D language=$lang -d build/$lang/doctrees source.git/source dist/$lang
82-
# done
83-
84-
# - name: Cleanup before packing, pack only one _images
85-
# shell: bash
86-
# run: |
87-
# mv dist/en/_images dist
88-
89-
# for lang in $MAIN_LANGS $OTHER_LANGS
90-
# do
91-
# rm -rf dist/$lang/_sources dist/$lang/_images
92-
# done
93-
94-
# - name: Upload full build artifact
95-
# id: upload-full
96-
# uses: actions/upload-artifact@v4
97-
# with:
98-
# name: generated documentation (all)
99-
# path: dist
100-
101-
# - name: Trigger docs server to download and deploy full documentation
102-
# uses: appleboy/ssh-action@v1.2.0
103-
# with:
104-
# host: ${{ secrets.DOCS_HOST }}
105-
# username: docs
106-
# port: ${{ secrets.DOCS_PORT }}
107-
# key: ${{ secrets.DEPLOY_AUTH_KEY }}
108-
# script: /var/www/docs/deploy/github-trigger.sh all ${{ steps.upload-full.outputs.artifact-id }} ${{ secrets.DOWNLOAD_TOKEN }}
109-
110-
111-

.github/workflows/scheduled.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ jobs:
2222
- name: Checkout
2323
uses: actions/checkout@v4
2424

25-
#- name: Install additional python packages
26-
# run: pip3 install -r requirements.txt
27-
2825
- name: Checkout Sources
2926
uses: actions/checkout@v4
3027
with:

0 commit comments

Comments
 (0)