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 33bdefc commit 6dac951Copy full SHA for 6dac951
.github/workflows/sync_to_cnb.yml
@@ -0,0 +1,24 @@
1
+name: Sync to CNB
2
+
3
+on:
4
+ push:
5
+ workflow_dispatch:
6
+jobs:
7
+ sync:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/checkout@v4
11
+ with:
12
+ fetch-depth: 0
13
14
+ - name: Sync to CNB Repository
15
+ run: |
16
+ docker run --rm \
17
+ -v ${{ github.workspace }}:${{ github.workspace }} \
18
+ -w ${{ github.workspace }} \
19
+ -e PLUGIN_TARGET_URL="https://cnb.cool/dataease/sqlbot.git" \
20
+ -e PLUGIN_AUTH_TYPE="https" \
21
+ -e PLUGIN_USERNAME="cnb" \
22
+ -e PLUGIN_PASSWORD=${{ secrets.CNB_PASSWORD }} \
23
+ -e PLUGIN_FORCE=true \
24
+ tencentcom/git-sync
0 commit comments