Skip to content

Commit 03d6fdb

Browse files
committed
Break up weblate commands to improve log tracing.
1 parent 2ef4604 commit 03d6fdb

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

.github/workflows/publish.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,15 @@ jobs:
5151
key = $WEBLATE_API_TOKEN
5252
translation = beeware/website
5353
EOF
54+
5455
- name: Lock Weblate and Sync
55-
run: |
56-
wlc lock
57-
wlc commit
58-
wlc push
59-
git pull origin
56+
run: wlc lock
57+
- name: Commit Weblate changes
58+
run: wlc lock
59+
- name: Push Weblate changes
60+
run: wlc push
61+
- name: Pull translation updates pushed by Weblate
62+
run: git pull origin
6063

6164
- name: Build site
6265
run: |
@@ -83,12 +86,10 @@ jobs:
8386
8487
- name: Ensure Weblate has current updates
8588
if: steps.updated.outputs.updated == 'true'
86-
run: |
87-
wlc pull
89+
run: wlc pull
8890

8991
- name: Unlock Weblate
90-
run: |
91-
wlc unlock
92+
run: wlc unlock
9293

9394
- name: Publish site
9495
env:

0 commit comments

Comments
 (0)