We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d2001a commit 12cc066Copy full SHA for 12cc066
.github/workflows/opencode-sync.yml
@@ -0,0 +1,22 @@
1
+name: GitlabSync
2
+
3
+on:
4
+ - push
5
+ - delete
6
7
+jobs:
8
+ sync:
9
+ runs-on: ubuntu-latest
10
+ name: Git Repo Sync
11
+ steps:
12
+ - uses: actions/checkout@v2
13
+ with:
14
+ fetch-depth: 0
15
+ - uses: wangchucheng/git-repo-sync@v0.1.0
16
17
+ # Such as https://github.com/wangchucheng/git-repo-sync.git
18
+ target-url: ${{ secrets.TARGET_URL }}
19
+ # Such as wangchucheng
20
+ target-username: ${{ secrets.TARGET_USERNAME }}
21
+ # You can store token in your project's 'Setting > Secrets' and reference the name here. Such as ${{ secrets.ACCESS\_TOKEN }}
22
+ target-token: ${{ secrets.TARGET_TOKEN }}
0 commit comments