Skip to content

Commit

Permalink
fix(CI): fix not found issue - retrigger
Browse files Browse the repository at this point in the history
  • Loading branch information
khalidbelk committed Nov 13, 2024
1 parent 91cab50 commit 11f969b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/mirrorV2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,14 @@ jobs:
with:
fetch-depth: 0
ref: main
token: ${{ secrets.PAT_TOKEN }}
- name: Push to mirror
env:
PAT: ${{ secrets.PAT_TOKEN }}
run: |
set -e
git config user.name "Github Action"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
git remote add mirror https://${PAT}@github.com/${{ env.MIRROR_URL }}
git commit --allow-empty -m "[Mirror CI] - Update repository"
git push mirror main:main --force

0 comments on commit 11f969b

Please sign in to comment.