FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-docs-zh-cn/.github/workflows/sync.yml at master · python/python-docs-zh-cn · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
python
/
python-docs-zh-cn
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
103
Star
467
Code
Issues
5
Pull requests
3
Actions
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
python-docs-zh-cn
/
.github
/
workflows
/
sync.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
68 lines (66 loc) · 1.81 KB
Breadcrumbs
python-docs-zh-cn
/
.github
/
workflows
/
sync.yml
Copy path
File metadata and controls
68 lines (66 loc) · 1.81 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name
:
Reusable workflow example
on
:
workflow_call
:
inputs
:
version
:
required
:
true
type
:
string
tx_project
:
required
:
true
type
:
string
secrets
:
TRANSIFEX_APIKEY
:
required
:
true
jobs
:
sync
:
runs-on
:
ubuntu-latest
env
:
LOCALE
:
zh_CN
VERSION
:
${{ inputs.version }}
steps
:
-
uses
:
actions/checkout@v6
-
name
:
Checkout CPython
uses
:
actions/checkout@v6
with
:
repository
:
'
python/cpython
'
ref
:
${{env.VERSION}}
path
:
cpython
-
uses
:
actions/cache/restore@v5
with
:
path
:
|
cpython/Doc/build
docs
key
:
cache-${{ inputs.version }}-${{ github.run_id }}
restore-keys
:
cache-${{ inputs.version }}-
-
name
:
Checkout Current Branch
uses
:
actions/checkout@v6
with
:
ref
:
${{env.VERSION}}
path
:
docs
clean
:
false
-
name
:
prepare
run
:
.github/scripts/prepare.sh
-
name
:
update
run
:
.github/scripts/update.sh
env
:
TX_TOKEN
:
${{ secrets.TRANSIFEX_APIKEY }}
-
uses
:
actions/cache/restore@v5
with
:
path
:
cpython/Doc/build
key
:
cache-${{ inputs.version }}-${{ github.run_id }}
restore-keys
:
cache-${{ inputs.version }}-
-
name
:
build
run
:
.github/scripts/build.sh
-
uses
:
actions/cache/save@v5
with
:
path
:
|
cpython/Doc/build
docs
key
:
cache-${{ inputs.version }}-${{ github.run_id }}
-
name
:
stat
run
:
python .github/scripts/tx_stat.py > ./docs/.stat.json
env
:
TX_TOKEN
:
${{ secrets.TRANSIFEX_APIKEY }}
TX_PROJECT
:
${{ inputs.tx_project }}
-
name
:
commit
run
:
.github/scripts/commit.sh
Back
|
FazBrowse Home
|
New Git URL