We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6999e87 commit b8915f4Copy full SHA for b8915f4
.github/workflows/repo-sync.yml
@@ -0,0 +1,33 @@
1
+name: Repo Sync
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+permissions:
9
+ contents: write
10
11
+jobs:
12
+ deploy:
13
+ runs-on: ubuntu-latest
14
+ environment: Copy To Public
15
+ steps:
16
+ - uses: actions/checkout@v3
17
+ with:
18
+ fetch-depth: 0
19
+ - name: Set up Python 3.12
20
+ uses: actions/setup-python@v3
21
22
+ python-version: "3.12"
23
+ - name: Install dependencies
24
+ run: |
25
+ python3 -m pip install --upgrade pip
26
+ python3 -m pip install -r requirements.txt
27
+ - name: Publish Branch
28
29
+ python3 repo_sync.py
30
+ env:
31
+ APP_ID: ${{ vars.APP_ID }}
32
+ INSTALLATION_ID: ${{ vars.INSTALLATION_ID }}
33
+ SERVER_DOCS_PRIVATE_KEY: ${{ secrets.SERVER_DOCS_PRIVATE_KEY }}
0 commit comments