Skip to content

Commit

Permalink
refactor(CI): works, but let's see if I can refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
khalidbelk committed Nov 13, 2024
1 parent 11f969b commit 16475e5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/mirrorV2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,10 @@ jobs:
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 config user.email "action@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 16475e5

Please sign in to comment.