Skip to content

Commit bfb784d

Browse files
authored
Update update-docs.yml
1 parent 0ef0a06 commit bfb784d

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/update-docs.yml

+11-3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ env:
99
CATALOG_BRANCH: "catalog-3.10"
1010
# Transifex project name
1111
TRANSIFEX_PROJECT: "python-newest"
12+
# Directory where repositories are cloned
13+
BASEDIR: "${dirname ${GITHUB_ACTION_REPOSITORY}}"
1214

1315
on: workflow_dispatch
1416
# schedule:
@@ -39,19 +41,25 @@ jobs:
3941
- name: Setup tx
4042
run: mv "${GITHUB_WORKSPACE}/files/.transifexrc" ~/.transifexrc
4143

42-
Renew-Upload-Catalog:
44+
Upload-Catalog:
4345
runs-on: ubuntu-latest
4446

4547
steps:
4648
- name: Check out the repo
4749
uses: actions/checkout@v2
48-
49-
Upload-Catalog:
50+
51+
- name: cpython-doc-catalog
52+
run: |
53+
cd "${BASEDIR}"
54+
55+
56+
Renew-Upload-Catalog:
5057
runs-on: ubuntu-latest
5158

5259
steps:
5360
- name: Check out the repo
5461
uses: actions/checkout@v2
62+
5563

5664

5765

0 commit comments

Comments
 (0)