We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03a93e9 commit 56db3fcCopy full SHA for 56db3fc
.github/workflows/sync-to-cnb-cool.yml
@@ -0,0 +1,23 @@
1
+name: Sync to CNB.cool
2
+on: [push]
3
+
4
+jobs:
5
+ sync:
6
+ if: github.repository == 'DragonOS-Community/gvisor'
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v3
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/DragonOS-Community/gvisor.git" \
19
+ -e PLUGIN_AUTH_TYPE="https" \
20
+ -e PLUGIN_USERNAME="cnb" \
21
+ -e PLUGIN_PASSWORD=${{ secrets.CNB_GIT_PASSWORD }} \
22
+ -e PLUGIN_FORCE="true" \
23
+ docker.cnb.cool/fslongjin/git-sync
0 commit comments