File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Repo Sync
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ - v7.3
8
+ - v7.2
9
+ - v7.0
10
+ - v6.0
11
+ - v5.0
12
+ - v4.4
13
+
14
+ permissions :
15
+ contents : write
16
+
17
+ jobs :
18
+ deploy :
19
+ runs-on : ubuntu-latest
20
+ environment : Copy To Public
21
+ steps :
22
+ - uses : actions/checkout@v3
23
+ with :
24
+ fetch-depth : 0
25
+ - name : Set up Python 3.12
26
+ uses : actions/setup-python@v3
27
+ with :
28
+ python-version : " 3.12"
29
+ - name : Install dependencies
30
+ run : |
31
+ python3 -m pip install --upgrade pip
32
+ python3 -m pip install -r requirements.txt
33
+ - name : Publish Branch
34
+ run : |
35
+ python3 repo_sync.py
36
+ env :
37
+ APP_ID : ${{ vars.APP_ID }}
38
+ INSTALLATION_ID : ${{ vars.INSTALLATION_ID }}
39
+ SERVER_DOCS_PRIVATE_KEY : ${{ secrets.SERVER_DOCS_PRIVATE_KEY }}
You can’t perform that action at this time.
0 commit comments