Skip to content

fix(ci): retrigger workflow #4

fix(ci): retrigger workflow

fix(ci): retrigger workflow #4

Workflow file for this run

name: Mirror Workflow 🪞
env:
SOURCE_URL: "https://github.com/EdukaiFR/website.git"
MIRROR_URL: "khalidbelk/testCI.git"
on: push
jobs:
push_to_mirror:
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v3
with:
fetch-depth: 0
repository: EdukaiFR/website
token: ${{ secrets.PAT_TOKEN }}
- name: Push to mirror
env:
PAT: ${{ secrets.PAT_TOKEN }}
run: |
git remote set-url origin https://${PAT}@github.com/${{ env.SOURCE_URL }}
git remote add mirror https://${PAT}@github.com/${{ env.MIRROR_URL }}
git push --mirror mirror