Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9f749f3

Browse files
authored
[WIP] Add update.yml
1 parent8b82639 commit9f749f3

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

‎.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+

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp