Skip to content

Commit 77a245f

Browse files
authored
Modified update.yml
1 parent f574f14 commit 77a245f

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/update.yml

+6-8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Modified for rffontenelle/python-docs-pt-br
12
name: Update translations
23

34
on:
@@ -7,17 +8,14 @@ on:
78
- '.github/workflows/update.yml'
89
- 'scripts/update.sh'
910
branches:
10-
- '*'
11-
- '*/*'
12-
- '**'
1311
- '!3.?'
14-
- '!2.*'
12+
- '!2.7'
1513
# schedule:
1614
# - cron: '0 23 * * *'
1715

1816
env:
1917
CPYTHON_BRANCH: '3.10'
20-
LANGUAGE: 'pt_BR'
18+
LANGUAGE: 'ja'
2119

2220
jobs:
2321
update:
@@ -52,7 +50,7 @@ jobs:
5250
run: |
5351
powrap --modified
5452
- name: Commit and push changes
55-
if: github.repository == 'rffontenelle/python-docs-pt-br'
53+
if: github.repository == 'python/python-docs-ja'
5654
run: |
5755
git config user.name github-actions
5856
git config user.email github-actions@github.com
@@ -115,7 +113,7 @@ jobs:
115113
git add -A
116114
git diff-index --quiet HEAD || ( git commit -m "Merge ${{ env.CURRENT_BRANCH }} into ${{ matrix.branch }}" && git push )
117115
118-
call-build:
116+
# call-build:
119117
# Call the build workflow after updating
120118
name: call
121119
needs: [update]
@@ -126,7 +124,7 @@ jobs:
126124
TELEGRAM_TO: ${{ secrets.TELEGRAM_TO }}
127125
TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }}
128126

129-
call-compendium:
127+
# call-compendium:
130128
# Call the compendium workflow after updating
131129
name: call
132130
needs: [update]

0 commit comments

Comments
 (0)