We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77d4b9d commit 9b3e4acCopy full SHA for 9b3e4ac
.github/workflows/sync-to-cnb.yml
@@ -0,0 +1,23 @@
1
+name: Sync to CNB
2
+
3
+on: [push]
4
5
+jobs:
6
+ sync:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v4
10
+ with:
11
+ fetch-depth: 0
12
13
+ - name: Sync to CNB Repository
14
+ run: |
15
+ docker run --rm \
16
+ -v ${{ github.workspace }}:${{ github.workspace }} \
17
+ -w ${{ github.workspace }} \
18
+ -e PLUGIN_TARGET_URL="https://cnb.cool/tencent/cloud/cloudbase/skills.git" \
19
+ -e PLUGIN_AUTH_TYPE="https" \
20
+ -e PLUGIN_USERNAME="cnb" \
21
+ -e PLUGIN_PASSWORD="${{ secrets.CNB_TOKEN }}" \
22
+ -e PLUGIN_FORCE="true" \
23
+ tencentcom/git-sync
0 commit comments