We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff7ccd8 commit 070bd6aCopy full SHA for 070bd6a
1 file changed
.github/workflows/epitech-sync.yml
@@ -5,19 +5,22 @@ on:
5
branches:
6
- main
7
8
+env:
9
+ MIRROR_URL: git@github.com:EpitechPGE3-2025/G-DEV-500-REN-5-1-area-5.git
10
+
11
jobs:
12
sync:
13
runs-on: ubuntu-latest
14
15
steps:
- - name: Checkout repository
- uses: actions/checkout@v4
16
+ - uses: actions/checkout@v4
17
with:
18
fetch-depth: 0
19
20
- name: Push to Epitech repository
- run: |
- git config user.name "github-actions"
21
- git config user.email "actions@github.com"
22
- git remote add epitech https://x-access-token:${{ secrets.EPITECH_REPOSITORY_TOKEN }}@github.com/EpitechPGE3-2025/G-DEV-500-REN-5-1-area-5.git
23
- git push --mirror --force epitech
+ uses: pixta-dev/repository-mirroring-action@v1
+ with:
+ target_repo_url:
24
+ ${{ env.MIRROR_URL }}
25
+ ssh_private_key:
26
+ ${{ secrets.SSH_PRIVATE_KEY }}
0 commit comments