Skip to content

feat(ci): test a new mirror workflow #1

feat(ci): test a new mirror workflow

feat(ci): test a new mirror workflow #1

Workflow file for this run

name: Mirror Workflow 🪞
env:
SOURCE_URL: "git@github.com:EdukaiFR/website.git"
MIRROR_URL: "git@github.com:khalidbelk/testCI.git"
on: push
jobs:
git-sync:
runs-on: ubuntu-latest
steps:
- name: git-sync
uses: wei/git-sync@v3
with:
source_repo: ${{ env.SOURCE_URL }}
source_branch: "main"
destination_repo: ${{ env.MIRROR_URL }}
destination_branch: "main"
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}