-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
866f7f4
commit e87a48b
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Mirroring to Epitech repository on GitHub | ||
|
||
env: | ||
MIRROR_SSH: [email protected]:EpitechPromo2026/B-DOP-500-NCE-5-1-whanos-gwenael.hubler.git | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
mirror: | ||
name: Mirror repository | ||
permissions: | ||
contents: read | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Mirror repository | ||
uses: pixta-dev/repository-mirroring-action@v1 | ||
with: | ||
target_repo_url: | ||
${{ env.MIRROR_SSH }} | ||
ssh_private_key: | ||
${{ secrets.GIT_SSH_PRIVATE_KEY }} |