File tree Expand file tree Collapse file tree 1 file changed +13
-15
lines changed
Expand file tree Collapse file tree 1 file changed +13
-15
lines changed Original file line number Diff line number Diff line change @@ -35,42 +35,40 @@ Automated synchronization system that mirrors GitHub repositories to GitLab in r
3535### Installation Steps
3636
3737#### Step 1: Create GitLab Token
38- ``` bash
38+
39391 . Go to GitLab → Settings → Access Tokens
40402 . Create token with ` api ` and ` write_repository ` scopes
41413 . Copy the token (it appears only once!)
4242
4343
4444
45- \# \*\* 📄 README.md - Suite et fin\*\*
4645
47-
4846
49- \`\`\` markdown
47+
5048
51- \# # ## Step 2: Configure GitHub Secrets
5249
53- \`\`\` bash
50+ #### Step 2: Configure GitHub Secrets
5451
55- 1\. Go to your GitHub repo → Settings → Secrets → Actions
5652
57- 2 \. Add two secrets:
53+ 1 . Go to your GitHub repo → Settings → Secrets → Actions
5854
59- - GITLAB\_ TOKEN: \[ your GitLab personal access token\]
55+ 2 . Add two secrets:
56+ ``` bash
57+ GITLAB_TOKEN: [your GitLab personal access token]
6058
61- - GITLAB\_ USERNAME: \[ your GitLab username (optional)\]
59+ GITLAB_USERNAME: [your GitLab username (optional)]
60+ ```
6261
63- \`\`\`
6462
6563
6664
67- \ ## ## Step 3: Add Workflow File
65+ #### Step 3: Add Workflow File
6866
69- Create \ ` .github/workflows/sync-gitlab.yml\ ` with the following content:
67+ Create ` .github/workflows/sync-gitlab.yml ` with the following content:
7068
7169
7270
73- \`\`\ ` yaml
71+ `` `yaml
7472
7573name : 🔄 Sync to GitLab
7674
9290
9391 git push gitlab HEAD:${{ github.ref\_name }}
9492
95- \`\`\ `
93+ `` `
9694
9795
9896
You can’t perform that action at this time.
0 commit comments