fix(core): add remote
Some checks failed
Sync to mirror repository / sync (push) Failing after 9s
Publish content / push (push) Successful in 1m35s
Publish content / build (push) Successful in 2m6s
Publish content / deploy (push) Successful in 47s

This commit is contained in:
2025-11-01 07:51:59 +01:00
parent 71e3718e7b
commit 9467cc95f8

View File

@@ -13,7 +13,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all history for all branches
fetch-depth: 0 # Fetch all history for all branches
- name: Configure Git
run: |
@@ -22,11 +22,12 @@ jobs:
- name: Add mirror remote and push
env:
GIT_USER_NAME: ${{ vars.GIT_USER_NAME }}
MIRROR_URL: ${{ secrets.MIRROR_REPO_URL }}
MIRROR_TOKEN: ${{ secrets.MIRROR_REPO_TOKEN }}
run: |
# Add mirror remote with authentication
git remote add mirror https://$MIRROR_TOKEN@${MIRROR_URL#https://}
git remote add mirror https://$GIT_USER_NAME:$MIRROR_TOKEN@${MIRROR_URL#https://}
# Push to mirror
git push mirror main --force