Skip to content

Commit 36fd403

Browse files
authored
DOCSP-44664 adds v4.4 to repo sync (#9956) (#9958)
1 parent 42c90da commit 36fd403

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/repo-sync.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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 }}

0 commit comments

Comments
 (0)