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 e55fc2f commit aa6d2b3Copy full SHA for aa6d2b3
1 file changed
.github/workflows/mirror.yaml
@@ -0,0 +1,29 @@
1
+name: Mirror to Public Repository
2
+on:
3
+ push:
4
+ branches: [ main ]
5
+
6
+jobs:
7
+ mirror:
8
+ runs-on: ubuntu-latest
9
+ env:
10
+ ENABLE_MIRROR: ${{ secrets.ENABLE_MIRROR }}
11
12
+ steps:
13
+ - name: Checkout private repository
14
+ uses: actions/checkout@v4
15
+ if: ${{ env.ENABLE_MIRROR == 'true' }}
16
+ with:
17
+ # Must be set to avoid conflicting with the subsequent push
18
+ # https://github.com/ad-m/github-push-action/issues/44#issuecomment-581706892
19
+ fetch-depth: 0
20
+ persist-credentials: false
21
22
+ - name: Push to public repository
23
+ uses: ad-m/github-push-action@v0.8.0
24
25
26
+ github_token: ${{ secrets.PUBLIC_REPO_TOKEN }}
27
+ repository: render-oss/render-mcp-server
28
+ branch: main
29
+ force: true
0 commit comments