Skip to content

Commit 3a013c6

Browse files
authored
Update README.md
1 parent c72488e commit 3a013c6

File tree

1 file changed

+13
-15
lines changed

1 file changed

+13
-15
lines changed

README.md

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff 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+
3939
1. Go to GitLab → Settings → Access Tokens
4040
2. Create token with `api` and `write_repository` scopes
4141
3. 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

7573
name: 🔄 Sync to GitLab
7674

@@ -92,7 +90,7 @@ jobs:
9290

9391
          git push gitlab HEAD:${{ github.ref\_name }}
9492

95-
\`\`\`
93+
```
9694

9795

9896

0 commit comments

Comments
 (0)