FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[WIP] Add update.yml (#32) · python/python-docs-ja@563e84f · GitHub

Repository navigation

Commit 563e84f

Browse files
authored
[WIP] Add update.yml (#32)
* [WIP] Add update.yml * Get rid of unnecessary files
1 parent 8b82639 commit 563e84f

8 files changed

Lines changed: 42 additions & 64 deletions

File tree

‎.github/workflows/update.yml‎

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,43 @@
1+
name: Sync po files
12

3+
on:
4+
schedule:
5+
- cron: "0 9 * * *"
6+
7+
env:
8+
# branch name of python-docs-ja repository
9+
DOCS_BRANCH: "3.10"
10+
# branch name of cpython repository
11+
CPYTHON_BRANCH: "3.10"
12+
# branch name of cpython-doc-catalog repository
13+
CATALOG_BRANCH: "catalog-3.10"
14+
# Transifex project name
15+
TRANSIFEX_PROJECT: "python-newest"
16+
# Directory where repositories are cloned
17+
BASEDIR: "$(dirname ${TRAVIS_BUILD_DIR})"
18+
19+
jobs:
20+
main:
21+
name: Sync po/pot fiels
22+
runs-on: ubuntu-latest
23+
steps:
24+
- name: Check out the repo
25+
- uses: actions/checkout@v2
26+
27+
- name: Setup Python
28+
- uses: actions/setup-python@v2.3.1
29+
with:
30+
python-version: "3.10"
31+
architecture: "x64"
32+
33+
- name: Install packages
34+
run: |
35+
pip install sphinx sphinx-intl blurb trasifex-client
36+
37+
- name: Run scripts
38+
run: |
39+
bash ${TRAVIS_BUILD_DIR}/scripts/prepare-build_3.10
40+
bash ${TRAVIS_BUILD_DIR}/scripts/upload-catalog
41+
bash ${TRAVIS_BUILD_DIR}/scripts/renew-catalog-template
42+
43+

‎scripts/determine-build-type‎

Lines changed: 0 additions & 17 deletions
This file was deleted.

‎scripts/pr-merge/main.sh‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎scripts/pr/main.sh‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎scripts/push/main.sh‎

Lines changed: 0 additions & 6 deletions
This file was deleted.

‎scripts/push/prepare-build_3.10‎

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL