Skip to content

Commit 9a4253f

Browse files
authored
Create sync.yml
1 parent 65b33aa commit 9a4253f

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/sync.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: sync
2+
3+
# Controls when the workflow will run
4+
on:
5+
# Triggers the workflow on push or pull request events but only for the main branch
6+
push:
7+
branches: [ main ]
8+
9+
10+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
11+
jobs:
12+
sync:
13+
runs-on: ubuntu-latest
14+
name: Git Repo Sync
15+
steps:
16+
- uses: actions/checkout@v2
17+
with:
18+
fetch-depth: 0
19+
- uses: devtron-labs/[email protected]
20+
with:
21+
target-url: 'https://gitee.com/devtron-labs/git-sensor.git'
22+
target-username: 'pawan_06d2'
23+
target-token: ${{ secrets.GITEE_ACCESS_TOKEN }}

0 commit comments

Comments
 (0)