Skip to content

Commit 7b393ae

Browse files
authored
Update update-docs.yml
1 parent 44730a9 commit 7b393ae

File tree

1 file changed

+25
-20
lines changed

1 file changed

+25
-20
lines changed

.github/workflows/update-docs.yml

+25-20
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,24 @@
11
name: Update po/pot files
22

3+
env:
4+
# branch name of python-docs-ja repository
5+
DOCS_BRANCH: "3.10"
6+
# branch name of cpython repository
7+
CPYTHON_BRANCH: "3.10"
8+
# branch name of cpython-doc-catalog repository
9+
CATALOG_BRANCH: "catalog-3.10"
10+
# Transifex project name
11+
TRANSIFEX_PROJECT: "python-newest"
12+
313
on: workflow_dispatch
414
# schedule:
515
# - cron: "0 9 * * *"
616

717
jobs:
18+
819
Org-Preparation:
920
runs-on: ubuntu-latest
10-
env:
11-
# branch name of python-docs-ja repository
12-
DOCS_BRANCH: "3.10"
13-
# branch name of cpython repository
14-
CPYTHON_BRANCH: "3.10"
15-
# branch name of cpython-doc-catalog repository
16-
CATALOG_BRANCH: "catalog-3.10"
17-
# Transifex project name
18-
TRANSIFEX_PROJECT: "python-newest"
19-
21+
2022
steps:
2123
- name: Check out the repo
2224
uses: actions/checkout@v2
@@ -37,16 +39,19 @@ jobs:
3739
- name: Setup tx
3840
run: mv "${GITHUB_WORKSPACE}/files/.transifexrc" ~/.transifexrc
3941

40-
- uses: actions/checkout@v2
41-
- name: Run scripts
42-
run: |
43-
# make files rnnable
44-
chmod +x "${GITHUB_WORKSPACE}/scripts/upload-catalog.sh"
45-
chmod +x "${GITHUB_WORKSPACE}/scripts/renew-catalog-template.sh"
46-
47-
# run scrits
48-
"${GITHUB_WORKSPACE}/scripts/upload-catalog.sh"
49-
"${GITHUB_WORKSPACE}/scripts/renew-catalog-template.sh"
42+
Renew-Upload-Catalog:
43+
runs-on: ubuntu-latest
44+
45+
steps:
46+
- name: Check out the repo
47+
uses: actions/checkout@v2
48+
49+
Upload-Catalog:
50+
runs-on: ubuntu-latest
51+
52+
steps:
53+
- name: Check out the repo
54+
5055

5156

5257

0 commit comments

Comments
 (0)