Skip to content

Commit 91cbaf2

Browse files
committed
ci: remove more unneded steps
1 parent b23cd2d commit 91cbaf2

File tree

1 file changed

+14
-20
lines changed

1 file changed

+14
-20
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: build
1+
name:
22
on:
33
push:
44
branches: [ main, test-build ]
@@ -12,42 +12,36 @@ jobs:
1212
- name: TODO - start full build (delayed)
1313
run: echo "TODO - start delayed full build, maybe 15mins?"
1414

15-
# on regular commit (auto excludes self-commited pot/po files)
15+
# on regular commit -> .pot/.po pushed by main repo
1616
full-build:
1717
if: ${{ ! contains(github.event.head_commit.message, 'Translated using Weblate') }}
1818
concurrency:
1919
group: ${{ github.ref }}
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
2929
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
3030

3131
steps:
32-
- name: Install git
33-
run: |
34-
apt-get -y update
35-
apt-get -y install git ssh curl
36-
3732
- name: Checkout
3833
uses: actions/checkout@v4
3934

40-
- name: Checkout source repository
41-
uses: actions/checkout@v4
42-
with:
43-
repoository: nitrokey/nitrokey-documentation
44-
path: source.git
35+
#- name: Checkout source repository
36+
# uses: actions/checkout@v4
37+
# with:
38+
# repoository: nitrokey/nitrokey-documentation
39+
# path: source.git
4540

46-
- name: Install additional python packages
47-
run: |
48-
make -C source.git venv
49-
ln -s source.git/venv
50-
#pip3 install -r requirements.txt
41+
#- name: Install additional python packages
42+
# run: |
43+
# make -C source.git venv
44+
# ln -s source.git/venv venv
5145

5246
- name: Weblate - pull component repository
5347
run: bash trigger_weblate.sh ${{ secrets.WEBLATE_API_URL }} none ${{ secrets.WEBLATE_TOKEN }} pull

0 commit comments

Comments
 (0)